×

Providing a wrapper around native synchronization objects

  • US 8,028,296 B2
  • Filed: 03/31/2006
  • Issued: 09/27/2011
  • Est. Priority Date: 03/31/2006
  • Status: Active Grant
First Claim
Patent Images

1. A computer-readable storage medium whose contents implement in a computing system functions for accessing a synchronization mechanism, the functions comprising:

  • a safe initialization function called by a thread to initialize the synchronization mechanism so that the synchronization mechanism can be used by any thread;

    a safe acquisition function called by a thread to acquire the synchronization mechanism, in some cases after waiting for release of the synchronization mechanism by a thread that previously acquired the synchronization mechanism;

    a safe release function called by a thread to release the synchronization mechanism after acquiring the synchronization mechanism; and

    a safe deletion function called by a thread to delete the synchronization mechanism so that the synchronization mechanism can no longer be used by any thread,the safe acquisition function permitting calling threads to acquire or wait to acquire the synchronization mechanism only if the safe initialization function has been called more recently than the safe deletion function,the safe deletion function deferring deletion of the synchronization mechanism until any threads that previously acquired the synchronization mechanism release it and until any threads waiting for the synchronization mechanism resume execution.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×