[Serdev] Is rpid thread safe?
Andrei Pelinescu-Onciul
pelinescu-onciul at fokus.fraunhofer.de
Tue Mar 8 16:48:30 UTC 2005
On Mar 08, 2005 at 14:34, Papadopoulos Georgios <geop at altectelecoms.gr> wrote:
> Hello,
>
> I am trying to get the rpid working but I am really confused. Since it
> is stored in a static variable in auth/rpid.c how is it possible to get
> the correct rpid for messages processed by different threads? Am I
> missing something?
ser is not multi-threaded, is multi-process. A static variable is
perfectly safe in this case, each process will have its own private
version.
Andrei
More information about the Serdev
mailing list