evilC / AutoHotInterception

An AutoHotkey wrapper for the Interception driver
MIT License
708 stars 64 forks source link

Convert to using ConcurrentDictionaries #3

Closed evilC closed 6 years ago

evilC commented 6 years ago

Not really a problem at the moment as we only have add subscription, but in order to remove subscriptions, we will need to move to the thread-safe ConcurrectDictionary class, as used in the IOWrapper DirectInput / XInput providers, else we could remove a dictionary while the PollThread is iterating the dictionary.