Srikant Chonnad wrote:

> Hi,
>      I want to implement 'enum' (as in C++) in Java. Please help.

The best way to do it is to use Thread.yield() to let the other thread
do its job. You may want to use Thread.sleep() as well to be on the safe
side.

/Rickard

--
Rickard Öberg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
   The Middleware Company - We Build Experts!

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to