> Le 25 oct. 2017 à 04:27, David Ringsmuth via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > The “Semaphore” function is crashing 4D Remote’s connection to 4D Server. > > While(Semaphore("MySemaphore";300)) // ←- this line crashes > // more coding here > End while
The doc "about semaphore" they say "Here is typical code for using a semaphore": While(Semaphore("MySemaphore";300)) IDLE End while I never understood why we still need a While since the second parameter is available… I'd try those: - add IDLE or DELAY PROCESS after While - play with the waiting time (second parameter - no idea of what the max can be) - remove the while and raise the up the waiting time and call 4D if it still crashes… -- Arnaud de Montard ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************