ravthan / all-eyes

Automatically exported from code.google.com/p/all-eyes
0 stars 0 forks source link

We should mutex protect monitor structure #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Why?  Because:
1.  Monitor structure gets cleaned during signal handler
2.  aemgr(Android App) mgmt thread reads running monitor's messages and we 
don't want that to be modified while being read.

Think more about this,
ravi.

Original issue reported on code.google.com by ravt...@gmail.com on 28 Oct 2012 at 12:13

GoogleCodeExporter commented 8 years ago
At least protect it from being modified when Android-SSL client is reading the 
monitor message.

Original comment by ravt...@gmail.com on 30 Oct 2012 at 2:02

GoogleCodeExporter commented 8 years ago

Original comment by heyyoul...@gmail.com on 30 Oct 2012 at 2:03

GoogleCodeExporter commented 8 years ago
Mutex protecting the monitor messages, which is the only entity that's being 
touched by two parallel running threads now.  Marking it fixed,
ravi.

Original comment by ravt...@gmail.com on 30 Oct 2012 at 11:39

GoogleCodeExporter commented 8 years ago
Verified with unit testing

Original comment by tbrt....@gmail.com on 9 Dec 2012 at 9:24