Messages in this thread | | | Date | Thu, 27 Nov 2003 02:21:28 +0900 (JST) | Subject | Re: BUG (non-kernel), can hurt developers. | From | YOSHIFUJI Hideaki / 吉藤英明 <> |
| |
In article <Pine.LNX.4.53.0311261153050.10929@chaos> (at Wed, 26 Nov 2003 11:54:56 -0500 (EST)), "Richard B. Johnson" <root@chaos.analogic.com> says:
> Note to hackers. Even though this is a lib-c bug, be > aware that many versions of the 'C' runtime library > have a rand() function that can (read will) segfault > in threads or signals.
How about rand_r(); reentrant version of rand()?
--yoshfuji - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |