On Wednesday, February 12, 2014 16:44:31 [email protected] wrote: > > It contains thread-safe versions of functions defined in tst_res.c. > > NOPASS mode not implemented yet. > > This is hardly pefromance critical code so we don't need fine grade > locking as this. What we can do in most of the cases is to take the > mutext and call the function from tst_res.c, which would lead to much > simpler code.
glibc provides pthread mutex lock/unlock stubs, so i wonder if we even need _r variants. if the program hasn't linked against -lpthread, then the funcs will simply return. if it has, then you get locking. -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
