pthread_cancel()

Joel Sherrill joel.sherrill at OARcorp.com
Fri Mar 8 18:13:57 UTC 2002



Pattara Kiatisevi wrote:
> 
> Hi,
> 
> Is pthread_cancel working fine with RTEMS? It doesn't seem to cancel :)
> I also can't find it here:
> http://www.oarcorp.com/rtemsdoc-4.5.1-pre3/rtemsdoc/html/posix_users/posix_users00326.html

It is there but my reading is that it doesn't work like the Linux man
page.

And the Linux man page does not look anything like the functionality
that
was in the draft spec this was originally implemented against.  Based
upon
the Linux man page, I would tend to treat this as a special test in
the calls listed on the Linux man page.

I am sorry to say this but the semantics of the RTEMS implementation
do not appear to be what any modern program using them would expect.

This raises the question.. how critical are they to the app you are
porting?  If they are important, would you be willing (with advice/help)
to fix the implementation?

> Thanks,
> Pattara
> 
> --
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
> ----------------------------------------------------------------------
> Ott Pattara Kiatisevi                              T L W G
> M.Sc. INFOTECH Student, Stuttgart, Germany      http://linux.thai.net/
> ----------------------------------------------------------------------

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list