diff options
| author | Zheng Da <zhengda1936@gmail.com> | 2009-12-06 05:26:23 +0100 |
|---|---|---|
| committer | Zheng Da <zhengda1936@gmail.com> | 2009-12-06 05:26:23 +0100 |
| commit | 8a6d48c0542876eb3acfc0970c0ab7872db08d5f (patch) | |
| tree | 496e78bc728317ea779781b92f897d16936ee231 /libdde_linux26/examples/bug_timersleep/WhatIsThis | |
| parent | b4bffcfcdf3ab7a55d664e9aa5907f88da503f38 (diff) | |
check in the original version of dde linux26.
Diffstat (limited to 'libdde_linux26/examples/bug_timersleep/WhatIsThis')
| -rw-r--r-- | libdde_linux26/examples/bug_timersleep/WhatIsThis | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libdde_linux26/examples/bug_timersleep/WhatIsThis b/libdde_linux26/examples/bug_timersleep/WhatIsThis new file mode 100644 index 00000000..3fb57408 --- /dev/null +++ b/libdde_linux26/examples/bug_timersleep/WhatIsThis @@ -0,0 +1,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 |
