This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

POSIX timer_create


The POSIX function timer_create has a parameter (struct sigevent *evp) which
allows a "user event handler".

The POSIX module, time.cxx, handles a timeout of the a timer in function
alarm_action. This function checks for SIGEV_SIGNAL and SIGEV_THREAD. The
latter, SIGEV_THREAD, has a comment "FIXME: implement SIGEV_THREAD". 

I am assuming the SIGEV_THREAD is the option for the user event handler. 

My question - Has anyone implemented this POSIX feature? If not, is there
any other way to do this other than using eCos alarms?

Thanks
Hans



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]