X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcfsm.h;h=c80a19b706984cc6470674b45de23660182f7f8c;hb=f1a52c060fd203ee275b9cc6aff711bf1961ad13;hp=d9c4be0f07054a0420a53fca75bec04975fc0624;hpb=43e2881abed8abfd54a27332e2def0178ddccea5;p=silc.git diff --git a/lib/silcutil/silcfsm.h b/lib/silcutil/silcfsm.h index d9c4be0f..c80a19b7 100644 --- a/lib/silcutil/silcfsm.h +++ b/lib/silcutil/silcfsm.h @@ -905,7 +905,7 @@ typedef struct SilcFSMEventObject SilcFSMEventStruct; * some event happens, some thread moves to a specific state or similar. * The FSM Events may also be used in FSM threads that are executed in * real system threads. It is safe to wait and signal the event from - * threads. + * threads. The `fsm' must be the machine, not a thread. * * Use the macros SILC_FSM_EVENT_WAIT and SILC_FSM_EVENT_TIMEDWAIT to wait * for the event. Use the SILC_FSM_EVENT_SIGNAL macro to signal all the @@ -924,7 +924,8 @@ SilcFSMEvent silc_fsm_event_alloc(SilcFSM fsm); * * Initializes a pre-allocates FSM event context. This call is * equivalent to silc_fsm_event_alloc except this use the pre-allocated - * context. This fuction does not allocate any memory. + * context. This fuction does not allocate any memory. The `fsm' + * must be the machine, not a thread. * ***/ void silc_fsm_event_init(SilcFSMEvent event, SilcFSM fsm);