AW: AW: AW: Dependencies of PPS API in rtems-libbsd

2022-03-31 Thread Gabriel.Moyano
> On 30/03/2022 15:19, gabriel.moy...@dlr.de wrote: > >>> Ok, it seems the pps_event() could be called by interrupt service > >>> routines. In this case, you cannot use a mutex and condition variables. > >>> You have to use a thread queue directly. Use the thread queue ISR > >>> lock for mutual exc

Re: AW: AW: AW: Dependencies of PPS API in rtems-libbsd

2022-03-31 Thread Sebastian Huber
On 31/03/2022 12:10, gabriel.moy...@dlr.de wrote: On 30/03/2022 15:19, gabriel.moy...@dlr.de wrote: Ok, it seems the pps_event() could be called by interrupt service routines. In this case, you cannot use a mutex and condition variables. You have to use a thread queue directly. Use the thread

AW: AW: AW: Dependencies of PPS API in rtems-libbsd

2022-03-30 Thread Gabriel.Moyano
> > On 30/03/2022 15:19, gabriel.moy...@dlr.de wrote: > >>> Ok, it seems the pps_event() could be called by interrupt service > >>> routines. In this case, you cannot use a mutex and condition variables. > >>> You have to use a thread queue directly. Use the thread queue ISR > >>> lock for mutual