Menu

#19 make all operations on shared data thread-safe

open
8
2008-11-18
2008-11-07
Jiri Biba
No

All of the operations working of shared data within one agent (e.g. AgentKernel.putPercept() adding events to the queue) should be made thread-safe - i.e. either synchronize the methods working with the unsynchronized data or wrap the data by synchronized wrappers from Collections and ensure an appropriate use anywhere in the project (best by shielding such use by appropriate encapsulation). This basically requires a peer survey of the whole platform to catch all possible occurances of thread-unsafe operations.

Discussion

  • Sergio Alvarez Napagao

    • assigned_to: nobody --> salvarezn
     
  • Sergio Alvarez Napagao

    • priority: 5 --> 8
     

Log in to post a comment.

MongoDB Logo MongoDB