union {
/* Machine */
struct {
- SilcUInt32 threads; /* Number of threads */
+ SilcAtomic32 threads; /* Number of threads */
SilcMutex lock; /* Lock, valid if using real threads */
} m;
/* Wait for thread to terminate */
SilcBool silc_fsm_thread_wait(void *fsm, void *thread);
-/* Eventphores */
+/* Events */
SilcUInt32 silc_fsm_event_wait(SilcFSMEvent event, void *fsm);
SilcUInt32 silc_fsm_event_timedwait(SilcFSMEvent event, void *fsm,
SilcUInt32 seconds, SilcUInt32 useconds,