mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-05-22 04:58:21 +02:00
Improve comment.
This commit is contained in:
parent
da142951ec
commit
b438b2b35a
@ -195,9 +195,9 @@ void User::from_dict(const Dictionary &dict) {
|
||||
}
|
||||
|
||||
Dictionary User::_to_dict() {
|
||||
// RW Locks are not re-entrant (read_locking would likely work), but since concurrency is hard
|
||||
// RW Lock writes are not re-entrant (read locking would work), but since concurrency is hard
|
||||
// api consistency is important. These types of classes hould always be locked from the outside.
|
||||
// Use read_lock() in the caller and do all read operations that you want.
|
||||
// Use read_lock() in the caller and then do all read operations that you want.
|
||||
|
||||
Dictionary dict;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user