~jkakar/storm/better-timeout-messages

Viewing all changes in revision 359.

  • Committer: James Henstridge
  • Date: 2010-07-01 17:56:24 UTC
  • mfrom: (355.2.7 zstorm-same-thread)
  • Revision ID: james@jamesh.id.au-20100701175624-i8ibe569tmw11j2w
Detect when per-thread stores are used in the wrong thread

ZStorm manages per-thread stores that get joined to the current thread's 
transaction when used.  If those stores get passed between threads, they 
can be joined to the wrong transaction.  This can lead to bugs that are 
difficult to reproduce and debug.  With this change, such use results in 
an error.
[f=348815] [r=therve,jkakar]

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: