×

PROVIDING A WRAPPER AROUND NATIVE SYNCHRONIZATION OBJECTS

  • US 20070234368A1
  • Filed: 03/31/2006
  • Published: 10/04/2007
  • Est. Priority Date: 03/31/2006
  • Status: Active Grant
First Claim
Patent Images

1. A computer-readable 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;

    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 the thread to delete the synchronization mechanism, 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 resume execution.

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