
PROBLEM: (81979, 87188, BCSM41XV7) (PATCH ID: OSF510-280)
********
This patch fixes a class scheduler semaphore race condition.


PROBLEM: (STL261650) (PATCH ID: OSF510-458)
********
The class scheduler depends on semaphores to protect its database from
simultaneous updates.  A semaphore ID is allocated the first time the
class scheduler is accessed after booting.  Should this semaphore be
inadvertently deleted (via ipcrm(2), for instance), the class scheduler
will fail with the following message:
    class_database_lock: Invalid argument
    class_database_unlock: Invalid argument

This patch automatically detects that the semaphore no longer exists
and allocates a new one, allowing the class scheduler to proceed without
interruption.



