octave-maintainers
[Top][All Lists]
Advanced

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

Re: Toward a reentrant/thread safe parser and lexer


From: Daniel J Sebald
Subject: Re: Toward a reentrant/thread safe parser and lexer
Date: Fri, 01 Mar 2013 12:21:44 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 03/01/2013 11:33 AM, CdeMills wrote:

The standard cure is to associate a lock with each shared variable, the
access patterns being:
read: get the lock - read - release the lock
write: get the lock - read - modify - write - release the lock

Alternate terminology to lock/unlock is (binary) semaphore and mutex.

Dan


reply via email to

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