[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] ***SPAM*** Re: Issue with Mint 1.19 and Litchi



I confirm, I have a problem using Fselect(1,...) in MyAES, change for value 2 fix it but it is not clear at all, because I try to write a small program using Fselect(1,...) but it don't crash, so I don't know, but try Fselect(2,..).

Olivier
Thanks for the intelligence and your advise.

- at receiving: Fselect() is donc with a timeout of 15 or 30 seconds (integer, value 15000 or 30000). - at sending: no Fselect(), there may be a lack here. I don't remember, but Fselect() here seemed useless or blocking the program. I will test with Fselect(2...).

Cheers,

Raj


Le 05/02/2015 11:28, Vincent Rivière a écrit :
On 05/02/2015 11:00, Pierre Ton-That wrote:
Suggestion to myself: look into fselect() function, to see if something
has changed in the CVS.

Indeed, we changed Fselect() around 01/10/2014 to make the old MiNTLib select() more compatible (this fixes the slow keyboard in old vim binaries).

Especially, the behaviour of the following has changed:
Fselect(1,...)

Previously, 1 meant very small timeout.
Now it means: return immediately (no delay, never block)
(while 0 still means infinite timeout)

If you use Fselect(1,...), please use Fselect(2,...) instead.
This fixed MyAES.