osmocom on windows

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Nordin bouchtaoui at gmail.com
Fri Oct 22 07:39:07 UTC 2010


  Another thread is possible, but you could also do a non-blocking read 
of the serial port, when Select call timed out. If nothing, you'll 
return back to the WSASelect() and the whole process repeats. This means 
you do serial port handling on the time-out of the WSASelect() call.

This way you omit synchronization between threads, but if you're 
familiar with multithreading, go ahead :)



On 21-10-2010 19:48, eisencah eisenach wrote:
> :D Yup the timers too. That's why I would like to keep that piece of code as it is and move only the serial port handling elsewhere (a different thread I)
>
> --- On Thu, 10/21/10, Holger Hans Peter Freyther<holger at freyther.de>  wrote:
>
> From: Holger Hans Peter Freyther<holger at freyther.de>
> Subject: Re: osmocom on windows
> To: baseband-devel at lists.osmocom.org
> Date: Thursday, October 21, 2010, 8:09 PM
>
> On 10/21/2010 07:00 PM, eisencah eisenach wrote:
>> Here's another one. Regarding the select mechanism (the one in select.c).
>> Other then the serial port and sockets is anything else registered there?
>> Cause I
>   would like to keep sockets for communication after all (but the select
>> function will not work on windows for serial ports handles). So I would use a
>> different mechanism only for serial port scheduling.
>> Cheers,
>> Mihai.
> well.. we handle the timers with it too.
>
>
>
>
>





More information about the baseband-devel mailing list