I'm wondering if it is possible to have a list that is accessed by multiple threads to allow these threads to get the data simultanious, but only one thread may edit the list.
When editing the list, all getting and other setting threads are blocked until done.
Setting threads need to have priority otherwise it may never return due to all the get requests. (or it would require some sort of scheduler)
I don't think regular critical sections allow for this.
When editing the list, all getting and other setting threads are blocked until done.
Setting threads need to have priority otherwise it may never return due to all the get requests. (or it would require some sort of scheduler)
I don't think regular critical sections allow for this.