Re: The connection for this process has been disrupted or the connection could not be established

2017-10-26 Thread Keisuke Miyako via 4D_Tech
I guess the request log file should provide a definitive answer to that question. in retrospect, a local semaphore with the "execute on server" method property may seem appropriate. but then, the twin process used by that method would be C, as opposed to Semaphore which is P. the "while"

Re: The connection for this process has been disrupted or the connection could not be established

2017-10-26 Thread Arnaud de Montard via 4D_Tech
> Le 25 oct. 2017 à 18:23, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> a écrit : > > Arnaud: > > [...] That is a function of "cooperative multitasking" and, now that we can > run code > pre-emotively, developers will have to have a more clear understanding of > (and better control

Re: The connection for this process has been disrupted or the connection could not be established

2017-10-25 Thread Douglas von Roeder via 4D_Tech
Arnaud: I would say it is "a" way to use a Semaphore and the idea that it is a limit is the way that I've always understood it. The fact that it's a gobal semaphore means that it controls access to the code that follows and the scope of that is for all machines connected to the server. The

Re: The connection for this process has been disrupted or the connection could not be established

2017-10-25 Thread Arnaud de Montard via 4D_Tech
> Le 25 oct. 2017 à 17:55, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> a écrit : > > Arnaud: > > My understanding is that, given that 4D's scheduler has been "cooperative > multitasking" for virtually all of its history, the Idle command instructs > the current process to yield

Re: The connection for this process has been disrupted or the connection could not be established

2017-10-25 Thread Douglas von Roeder via 4D_Tech
Arnaud: My understanding is that, given that 4D's scheduler has been "cooperative multitasking" for virtually all of its history, the Idle command instructs the current process to yield time to other processes. Without the While…End while loop and the Idle command, the current process would hit

Re: The connection for this process has been disrupted or the connection could not be established

2017-10-25 Thread Arnaud de Montard via 4D_Tech
> 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"

The connection for this process has been disrupted or the connection could not be established

2017-10-24 Thread David Ringsmuth via 4D_Tech
The “Semaphore” function is crashing 4D Remote’s connection to 4D Server. While(Semaphore("MySemaphore";300)) // ←- this line crashes // more coding here  End while 4D Remote v15.4 Built 32bit on OSX 10.9.5 4D Server v15.4 Built 32bit on OSX 10.9.5 8GB Ram Core 2 Duo The Client-Server