From: Robert W. <ro...@us...> - 2003-04-18 19:52:37
|
Hey guys, I have a question about bugzilla #2519. I checked the link mentioned below and it seems that POSIX says that it "shall fail". Is "shall" closer to "must" or "may"? - Robbie Robert V. Williamson <ro...@us...> Linux Test Project IBM Linux Technology Center Phone: (512) 838-9295 T/L: 678-9295 Fax: (512) 838-4603 Web: http://ltp.sourceforge.net IRC: #ltp on freenode.irc.net ==================== "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -Albert Einstein ----- Forwarded by Robert Williamson/Austin/IBM on 04/18/2003 02:43 PM ----- Dan Kegel <dkegel@ixiacom.c To: Robert Williamson/Austin/IBM@IBMUS, om> "'pos...@li... '" <pos...@li...> 04/18/2003 02:39 cc: "'ltp...@li... '" <ltp...@li...> PM Subject: RE: [LTP] Question about pthread_detach testcase 4-2 Robert Williamson wrote: > One of our developers here says that: > > ...pthread_detach "may fail" and not "must fail". In case the > implementation > is able to detect it might return ESRCH, if not it is OK to return > 0(success). > > Basically, in his opinion the testcase should check for "ret" equal to > ESRCH or 0, instead of the current implemenation of checking for ESRCH > only. I wanted to get some more thoughts on this before I change the > LTP's version. I don't see much support for that in http://www.opengroup.org/onlinepubs/007904975/functions/pthread_detach.html Can your developer point to the line of the standard he's referring to? - Dan |