WoWInterface - View Single Post - Threads: where is the mutex/lock api?
View Single Post
09-28-20, 09:16 AM   #8
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Sep 2020
Posts: 8
Originally Posted by Vrul View Post
It depends on how you implemented it. Post your code.
It's nothing fancy. Essentially:

getgroupmembership() do

-- add stuff to various lists within the same module
-- a few function calls base on trigger conditions (where the function updates updates lists in its own module modules)


If you are super interested in the current code it is here: https://github.com/prowley/SteaSummo...aster/raid.lua

You'll notice that I commented out the path from the roster update event callback, since I had decided not to deal with the issue for now since the group enumerated every 3 seconds on the other path anyway (because roster update doesn't appear to fire for every change of state in the roster).
  Reply With Quote