[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pfork() question/problem
On Sun, 21 Jun 1998 16:32:54 +0200, Jo Even Skarstein wrote:
JES>Do you use a thread-safe AES-library? The normal library use global
JES>arrays, so if you call the AES simultanously from two threads you'll
JES>mess up boths calls. You need to use a library that passes an address
JES>to the global array in each call, so you can use separate arrays for
JES>each thread. GEMlib has one from pl34 (iirc) and upwards.
not upwards, in pl36 the thread version was dropped. Chris thought it
was useless.
Petr
--
E-mail: stehlik@cas3.zlin.vutbr.cz PARCP developer
WWW: http://cas3.zlin.vutbr.cz/~stehlik/ MiNTOS/Linux user
mirror: http://users.zln.cz/~pstehlik/ Atari 800XL emulation
mirror: http://www.stehlik.cyberstrider.org/ Atari Falcon040