Excessive locking in Speaker::fire()
Moderator: Moderators
-
cologic
- Programmer
- Posts: 337
- Joined: 2003-01-06 18:32
Excessive locking in Speaker::fire()
As far as I can tell, Speaker::fire doesn't actually modify the listeners list, and given that STLport is thread-safe for read-only stuff, I fail to undertand why there are locks around all the variants of fire(). (As opposed to addListener, removeListener, and removeAllListeners or whatever they're called, which are justifiably locked.)
-
arnetheduck
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 22:15
Who is online
Users browsing this forum: Google [Bot] and 0 guests