Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Multithreading : MThreadAsync sends Maya to sleep?

Multithreading : MThreadAsync sends Maya to sleep?

Anonymous
Not applicable
274 Views
0 Replies
Message 1 of 1

Multithreading : MThreadAsync sends Maya to sleep?

Anonymous
Not applicable
Hi,

I need one separate thread in Maya, which is updating a global variable all the time, without the timeline running. I tried the threadTestWithLocksCmd example plugin and found that MThreadAsync is that what I am searching for. I removed all the irrelevant code so that only one required asynchronous thread is created and does its calculation, but to my surprise the thread sends Maya to sleep. After the calculation is done, Maya works again. Am I looking onto the wrong API ?
0 Likes
275 Views
0 Replies
Replies (0)