You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Getnamo, cant stress how much I appreciate your work. Just have a question in regards to receiving events on a separate thread. I am using socketio to continuously pull in data from a stream. I noticed that when I try to transmit 100,000 records, the delay increases over time and the game thread is blocked until all events are received. I was wondering if you could guide me in the right direction so I can receive events without blocking game thread. Tysm! Currently am on UE 4.20 and SocketIO 0.95. I plan on upgrading soon but any help is appreciated.
EDIT: I know that SocketIO supports Blueprint multithreading, but specifically I need to receive events on a separate thread than Game Thread. Thanks!
The text was updated successfully, but these errors were encountered:
Using bind event to function, you can specify a thread override which has 3 options. Default (per socket.io component, typically game thread), game thread, and network thread. Setting the override to network thread should accomplish what you're looking for.
The cool part about this setup is that you can decide on a per bound event which thread you wish to receive the message, keeping other unsafe events e.g. on game thread.
NB: you cannot make or destroy uobjects on non-gamethreads and be mindful of your access patterns across threads to ensure you don't get a race condition.
Hey Getnamo, cant stress how much I appreciate your work. Just have a question in regards to receiving events on a separate thread. I am using socketio to continuously pull in data from a stream. I noticed that when I try to transmit 100,000 records, the delay increases over time and the game thread is blocked until all events are received. I was wondering if you could guide me in the right direction so I can receive events without blocking game thread. Tysm! Currently am on UE 4.20 and SocketIO 0.95. I plan on upgrading soon but any help is appreciated.
EDIT: I know that SocketIO supports Blueprint multithreading, but specifically I need to receive events on a separate thread than Game Thread. Thanks!
The text was updated successfully, but these errors were encountered: