mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
r13454@kushana: nickm | 2007-06-20 14:22:44 -0400
Switch windows locking implementation to CRITICAL_SECTION, not Mutex: Mutex is heavier-weight, and meant for multi-process situations. svn:r10739
This commit is contained in:
parent
04c9ae8164
commit
ae4ab0f617
@ -16,6 +16,11 @@ Changes in version 0.2.0.3-alpha - 2007-??-??
|
||||
- Report address and port correctly on connections to DNSPort. (Patch
|
||||
from Robert Hogan.)
|
||||
|
||||
o Performance improvements (win32):
|
||||
- Use Critical Sections rather than Mutexes for synchronizing threads
|
||||
on win32; Mutexes are heavier-weight, and designed for synchronizing
|
||||
between processes.
|
||||
|
||||
o Deprecated features:
|
||||
- RedirectExits is now deprecated.
|
||||
|
||||
|
@ -131,7 +131,7 @@ extern INLINE double U64_TO_DBL(uint64_t x) {
|
||||
#define STMT_END } else STMT_NIL
|
||||
#else
|
||||
#define STMT_BEGIN do {
|
||||
#define STMT_END } while(0)
|
||||
#define STMT_END } while (0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user