Thread locking

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 9/46 (2006.01)

Patent

CA 2384856

The invention relates to a method of providing thread locking within a multi- threading object-oriented computer program. Each object (400, 500, 600) includes a reserved lock word which is initially set to zero to indicate that the object is unlocked. When the object is to be locked, the word is changed to a pointer (630) which points to a particular memory block (710) within a separate lock pool (700). That memory block contains all the necessary locking information for the object. When the object is to be unlocked, the pointer (630) is deleted, and the lock word set back to zero. The corresponding block (710) in the lock pool is then released, and may be reused for other locking information or for other data that may be required to be stored by the executing application.

La présente invention concerne un procédé de verrouillage d'unité d'exécution dans un programme informatique orienté objets à unités d'exécution multiples. Chaque objet (400, 500, 600) comprend un mot de verrouillage réservé qui est, dans un premier temps, mis à zéro dans le but d'indiquer que l'objet est déverrouillé. Lorsque l'objet doit être verrouillé, ce mot est transformé en un pointeur (630) pointant sur un bloc de mémoire particulier (710) à l'intérieur d'un centre de verrouillage séparé (700). Ce bloc de mémoire comprend toutes les informations de verrouillage nécessaires pour l'objet. Lorsque l'objet doit être déverrouillé, le pointeur (630) est effacé, le mot de verrouillage est remis à zéro. Le bloc correspondant (710) dans le centre de verrouillage est libéré, et pourra être réutilisé pour le verrouillage d'autres informations ou pour d'autres données devant d'être stockées par l'application d'exécution.

LandOfFree

Say what you really think

Search LandOfFree.com for Canadian inventors and patents. Rate them and share your experience with other people.

Rating

Thread locking does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Thread locking, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Thread locking will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1855986

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.