thread icon indicating copy to clipboard operation
thread copied to clipboard

is there an example to show how to access shared variable between two thread?

Open smilesun opened this issue 7 years ago • 1 comments

I want a thread to run background some heavy computation

smilesun avatar Apr 29 '18 17:04 smilesun

Accessing a share variable should be straightforward - all functions/threads run in the same R interpreter and have access to the same global environment. However, memory management is not complete and I there is no guarantee that R process will survive running multiple threads via this package.

lbartnik avatar May 02 '18 05:05 lbartnik