Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] lock() and unlock() pointcuts with Object.wait()

Do the lock and unlock synchronization pointcuts get triggered when a thread calls wait inside a synchronized block?

ie.

synchronized(this) {
  // blah
  wait();
  // blah
}

Would this trigger the following?

lock()
unlock()
lock()
unlock()

Cheers,

Jon

Back to the top