Message85928
Akira> Note that dbm and gdbm C API is a little different. gdbm_nextkey
Akira> requires key for its argument, dbm_nextkey don't. So I had to
Akira> use for gdbm an static variable that points to the current
Akira> position.
I don't think this is going to fly. A static variable is not thread-safe.
What's worse, even in a non-threaded environment you might want to iterate
over the gdbm file simultaneously from two different places. |
|
Date |
User |
Action |
Args |
2009-04-12 23:45:09 | skip.montanaro | set | recipients:
+ skip.montanaro, loewis, akitada |
2009-04-12 23:45:07 | skip.montanaro | link | issue5736 messages |
2009-04-12 23:45:07 | skip.montanaro | create | |
|