Re: multithreaded hell, help!

2016-07-21 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, July 21, 2016 21:47:09 rikki cattermole via Digitalmars-d-learn wrote: > On 21/07/2016 9:44 PM, Brons wrote: > > Im trying to access data in a global between threads. > > So ive set my global to shared, however the object trying to access it > > needs to also then be shared, but it

Re: multithreaded hell, help!

2016-07-21 Thread Brons via Digitalmars-d-learn
On Thursday, 21 July 2016 at 09:47:09 UTC, rikki cattermole wrote: On 21/07/2016 9:44 PM, Brons wrote: Im trying to access data in a global between threads. So ive set my global to shared, however the object trying to access it needs to also then be shared, but it cant be because its part of

Re: multithreaded hell, help!

2016-07-21 Thread rikki cattermole via Digitalmars-d-learn
On 21/07/2016 9:44 PM, Brons wrote: Im trying to access data in a global between threads. So ive set my global to shared, however the object trying to access it needs to also then be shared, but it cant be because its part of a library... Is there any simple way to transfer data from one thread

multithreaded hell, help!

2016-07-21 Thread Brons via Digitalmars-d-learn
Im trying to access data in a global between threads. So ive set my global to shared, however the object trying to access it needs to also then be shared, but it cant be because its part of a library... Is there any simple way to transfer data from one thread to another? 1. My situation is