From: bernie Date: Wed, 3 Sep 2008 08:17:51 +0000 (+0000) Subject: SCHED_ENQUEUE: tighten checks on locking X-Git-Tag: 2.0.0~161 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b0ba66e728f0885d53e7836898ea60902c818aa8;hp=b0ba66e728f0885d53e7836898ea60902c818aa8;p=bertos.git SCHED_ENQUEUE: tighten checks on locking Factor out the two different implementations and ensure modifications happen with inteerrupts disabled. This uncovered a latent bug in our semaphore sleep code. Also explicitly document our locking requirements for ProcReadyList. The comment previously claimed that proc_forbid() would offer enough protection, which is, of course, bullshit. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1773 38d2e660-2303-0410-9eaa-f027e97ec537 ---