×

Javascript engine

  • US 6,892,200 B2
  • Filed: 10/30/2002
  • Issued: 05/10/2005
  • Est. Priority Date: 11/13/2001
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer implemented method for avoiding using a locking mechanism when a thread having a context requests to use an object having a scope and having an owner of said scope, said method comprising:

  • determining if said owner is the same as said context;

    if said owner is the same as said context, then avoiding using locking mechanism;

    if said owner is not the same as said context, then promoting a lock on said object'"'"'s scope;

    initially setting said object'"'"'s scope'"'"'s owner to a current context of a current thread when said object'"'"'s scope is created;

    resetting said object'"'"'s scope'"'"'s owner to a second thread'"'"'s context when said second thread claims exclusive ownership of said scope; and

    setting said object'"'"'s scope'"'"'s owner to null when said ownership is shaped.

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