User Tools

Site Tools


os_cp:threads

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
os_cp:threads [2024/04/18 11:32]
jkonczak [Accessing the same data from multiple threads]
os_cp:threads [2024/04/18 11:42] (current)
jkonczak [Accessing the same data from multiple threads]
Line 374: Line 374:
 } }
 </​code>​ </​code>​
 +<​html></​div></​html>​
 +<​html><​div style="​margin-top:​-1.4em;​ line-height:​ 1em"></​html>​
 +<​small>​If the code above always returns the right answer, try to run it a million times: \\
 +''​for X in `seq 1000000`; do RES=$(%%./​%%//​progname//​);​ test "​$RES"​ -ne 16000 && echo -e "​\n$RES"​ && break || echo -n '​.';​ done''​
 +</​small>​
 <​html></​div></​html>​ <​html></​div></​html>​
  
os_cp/threads.txt · Last modified: 2024/04/18 11:42 by jkonczak