| 35 | static int ints[ARRAY_LENGTH]; |
| 36 | |
| 37 | static void SecondaryThread() { |
| 38 | if (s_tsfn.Release() != napi_ok) { |
| 39 | Error::Fatal("SecondaryThread", "ThreadSafeFunction.Release() failed"); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | // Source thread producing the data |
| 44 | static void DataSourceThread() { |