NOTIFICATION BARRIER
First Claim
1. A method for implementing a notification barrier, comprising:
- receiving a call to the notification barrier installed on a sender object, wherein the call originates from a receiver object which receives notifications posted by the sender object;
in response to the call,acquiring a notification lock, wherein the notification lock is held whenever the sender is posting a notification, andreleasing the notification lock, wherein releasing the lock indicates to the receiver object that the sender object has no pending posted notifications.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosed embodiments provide a system which implements a notification barrier. During operation, the system receives a call to the notification barrier installed on a sender object, wherein the call originates from a receiver object which receives notifications posted by the sender object. In response to the call, the system acquires a notification lock, wherein the notification lock is held whenever the sender is posting a notification. The system then releases the notification lock, wherein releasing the lock indicates to the receiver object that the sender object has no pending posted notifications.
-
Citations
24 Claims
-
1. A method for implementing a notification barrier, comprising:
-
receiving a call to the notification barrier installed on a sender object, wherein the call originates from a receiver object which receives notifications posted by the sender object; in response to the call, acquiring a notification lock, wherein the notification lock is held whenever the sender is posting a notification, and releasing the notification lock, wherein releasing the lock indicates to the receiver object that the sender object has no pending posted notifications. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for implementing a notification barrier, the method comprising:
-
receiving a call to the notification barrier installed on a sender object, wherein the call originates from a receiver object which receives notifications posted by the sender object; in response to the call, acquiring a notification lock, wherein the notification lock is held whenever the sender is posting a notification, and releasing the notification lock, wherein releasing the lock indicates to the receiver object that the sender object has no pending posted notifications. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus which implements a notification barrier, comprising:
-
a notification barrier installed on a sender object, wherein the notification barrier is configured to receive a call that originates from a receiver object which receives notifications posted by the sender object; wherein in response to the call, the notification barrier is configured to, acquire a notification lock, wherein the notification lock is held whenever the sender is posting a notification; and release the notification lock, wherein releasing the lock indicates to the receiver object that the sender object has no pending posted notifications. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification