summaryrefslogtreecommitdiff
path: root/libdde_linux26/examples/bug_timersleep/WhatIsThis
blob: 3fb574087245b12e2bf541bf2e83b6370bee72a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
=== Bug reported by Andre Puschmann ===

main.c contains Linux kernel code that triggers 2 problems:

1) list order violation in the list alloc lib
2) threads hang after scheduling a very short timer, because
   the timer thread seems to miss some events


Fixes
=====
1) correct locking for ddekit's memory allocation functions
   solves the problem
2) fixed DDEKit's timer implementation to not use IPC for
   notifications (because some got lost for atomicity reasons)
   but use a counting semaphore