[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] hash-table/modify!
From: |
Taylor R Campbell |
Subject: |
Re: [MIT-Scheme-devel] hash-table/modify! |
Date: |
Sun, 20 Dec 2009 02:53:03 -0500 |
User-agent: |
IMAIL/1.21; Edwin/3.116; MIT-Scheme/7.7.90.+ |
Date: Sat, 19 Dec 2009 23:48:12 -0800
From: Joe Marshall <address@hidden>
You need to avoid a race between two processes trying to modify
the cell at the same time.
None of the hash table implementation is safe for concurrent update.
It is protected only against interruption during updates. If you want
to make concurrent updates to a hash table safe, you must synchronize
them yourself, for instance with a mutex.