Skip to content
Commit f4b6daff authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

lib/posix: Port wait_q usage to new API



The pthread mutex changes went in with an adaptation to build with the
new wait queue API, but they did it by using the old dlist hooks
directly through typecasting and union assignment.  That... is sort of
the opposite of the intent to having the new API be abstracted.  The
pthread code worked, but failed once wait queues (on x86) stopped
being dlists.

Simple fix once I saw the problem, anyway.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 0c80ee08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment