Pieter,
> No, it is not safe to subclass Semaphore. The VM sometimes checks
> specifically for the class. However you can always use has-a instead of
> is-a, and wrap up Semaphore inside another class as is done by Mutex.
I'm starting to suspect that you are working on a (hopefully) solve
problem, if only in part. Take a look at the timed evaluators on my web
site. Feel free to use the code as-is or change it as necessary, but
please let me know if you find any bugs.
Have a good one,
Bill
--
Wilhelm K. Schwab, Ph.D.
[hidden email]