S
Seebs
Could be. What I was thinking is that Windows probably provides
a set of library routines that's similar enough to the POSIX
threads routines that mapping from one to the other would not be
especially difficult, and that the same would probably be true
for most other mainstream platforms.
I'm not sure of this.
Consider process management APIs; you'd think they'd be similar, but they're
sufficiently dissimilar that trying to port a lot of Unix code to Windows
is a horrible nightmare which imposes HUGE costs.
Yeah, okay, maybe I'm being too optimistic to think that multithreading
will ever be no more difficult .... or even "not much more difficult".
I think so. Not to say it hasn't gotten a lot better than it was ten or
fifteen years ago.
But I think this would *not* be an implementation of the semaphore ADT
as defined in computer science. ?
Well, no, it wouldn't. But it would fit in nicely next to "morse.h".
-s