[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crypt mutex

From: Mikael Djurfeldt
Subject: Re: crypt mutex
Date: Mon, 23 Feb 2004 15:01:09 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Marius Vollmer <address@hidden> writes:

> can lists be meaningfully made thread safe?

Your general question is very relevant.  Regarding this example, my
answer would be that we should limit ourselves to making sure that we
don't get segfault or memory corruption if multiple threads randomly
mutates pairs.  If a threaded program needs thread safe (in this case:
mutually exclusive) access to a list data structure, it uses a mutex.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]