Y
Hacker News
new
|
ask
|
show
|
jobs
by
querulous
2229 days ago
a process is a singleton even tho the
code
it runs is reused
1 comments
brokencode
2229 days ago
I’m not sure what you mean. A singleton is something your program only has one of. You can have any number of processes. By your logic, every object in an object-oriented language is also a singleton.
link