Anonymous | Login | Signup for a new account | 2025-05-14 07:36 EDT | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000164 | JANA | Feature Request | public | 2011-11-10 15:56 | 2012-03-26 14:29 | ||||
Reporter | davidl | ||||||||
Assigned To | davidl | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Summary | 0000164: Add either ROOT mutex or generic mutex's to JApplication | ||||||||
Description | Plugins that wish to use ROOT need to have a central mutex that all of them can access to lock access to the ROOT global. Either a ROOT mutex should be added to JApplication, or a mechanism introduced that would allow any number of mutex's to be added to the JApplication so they could be accessed by multiple plugins/libraries etc. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000319) davidl (administrator) 2012-03-26 14:29 |
This was committed in revision 928 and will appear in JANA 0.6.4. It was implemented by adding a map of rw locks to JApplication that can be added to by the user. The user can lock and unlock the rw_lock by name. A special lock named "root" is added automatically with special methods for locking it. The RootReadLock, RootWriteLock, and RootUnLock methods are just more obvious what they are for and are slightly more efficient since one doesn't need to access the map nor lock the special rw_locks lock in order to access it. |
![]() |
|||
Date Modified | Username | Field | Change |
2011-11-10 15:56 | davidl | New Issue | |
2012-03-26 14:29 | davidl | Note Added: 0000319 | |
2012-03-26 14:29 | davidl | Status | new => resolved |
2012-03-26 14:29 | davidl | Resolution | open => fixed |
2012-03-26 14:29 | davidl | Assigned To | => davidl |
Copyright © 2000 - 2025 MantisBT Team |