search for: ffc5d28b

Displaying 1 result from an estimated 1 matches for "ffc5d28b".

2012 Dec 01
2
[LLVMdev] Use rand_r() instead of non-reentrant thread-unsafe rand() in GetRandomNumber()
...patch simply replaces the calls to srand() and rand() with a call to rand_r(), which uses static unsigned x value to keep its state locally. Best, - D. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121201/ffc5d28b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm.rand.patch Type: application/octet-stream Size: 401 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121201/ffc5d28b/attachment.obj>