Re: Problem with SIMPLEQ_INSERT_TAIL

2024-01-22 Thread Stephan
Okay, it was just a typo... hard to find by the compiler message. It works now, thanks alot! Am Mo., 22. Jan. 2024 um 12:37 Uhr schrieb J. Hannken-Illjes : > > > On 22. Jan 2024, at 11:52, Stephan wrote: > > > > Hello, > > > > I am working on the semaphore part of my Haiku compat layer. I took

Re: Problem with SIMPLEQ_INSERT_TAIL

2024-01-22 Thread J. Hannken-Illjes
> On 22. Jan 2024, at 11:52, Stephan wrote: > > Hello, > > I am working on the semaphore part of my Haiku compat layer. I took > uipc_sem.c as a reference, where control structures are organized in a > dynamically allocated array and not as part of a list. > > However, I like to maintain a

Problem with SIMPLEQ_INSERT_TAIL

2024-01-22 Thread Stephan
Hello, I am working on the semaphore part of my Haiku compat layer. I took uipc_sem.c as a reference, where control structures are organized in a dynamically allocated array and not as part of a list. However, I like to maintain a "free list" in the form of a SIMPLEQ, on which unused semaphores