Decomposing the Read Event Sample Clauses

Decomposing the Read Event sociated with a particular process, which replaces bu f f of the abstrac- tion. The data in bu f f 2 can be added or removed one packet at a time. data2 represents a channel buffer, which replaces data of the abstraction. The data in data2 can be added or removed one packet at a time. Invariants writing ∈ proc >' reading ∈ proc > xxxx xxxx bu f f 2 ∈ proc→Block data2 ∈ chan→Block We ensure processes cannot be reading and writing at the same time with the invariant, dom(writing) ∩ dom(reading) = ∅ However we allow channels to be in the range of both reading and writing simultaneously. The new event StartWrite refines skip. StartWrite , ANY p, c WHERE p ∈ proc A c ∈ chan A p ∈/ dom(writing) A c ∈/ ran(writing) A bu f f 2(p) /= ∅ A data2(c) = ∅A p ∈/ dom(reading) THEN writing := writing ∪ {p '→ c} END '→ '→ The process and channel p c are added to the set of writing pairs. Once a process-channel pair is added to the set of writing pairs we transfer individual packets of data k d, from one to the other. k is the packet identifier and d represents the data. The WritePacket event: WritePacket , ANY p, c, k, d WHERE p '→ c ∈ writing A k ∈ dom(bu f f 2(p)) A d = bu f f 2(p)(k) A k ∈/ dom(data2(c)) THEN data2(c) := data2(c) ∪ {k '→ d} END '→ In the WritePacket event a packet k d is added to the channel buffer data2(c). The EndWrite event refines Write. EndWrite , REFINES Write ANY p, c WHERE p '→ c ∈ writing A c ∈ chan A data2(c) = bu f f 2(p) WITH b = bu f f 2(p) THEN writing := {p} — writing bu f f 2(p) := ∅ END { }— The process p is removed from the set of writers writing := p writing and the local buffer is cleared, bu f f 2(p) := ∅. The witness b = bu f f 2(p) links local variable b of the abstraction to bu f f 2(p) of the refinement. Local variable b does not appear in the refinement and is, instead, re- placed by buff2(p). Both b and bu f f 2(p) represent the process’ block of data. StartRead refines skip: StartRead , ANY p, c WHERE p ∈ proc A c ∈ chan A p ∈/ dom(reading) A c ∈/ ran(reading) A p ∈/ dom(writing) A data2(c) =/ THEN reading ∪ {p '→ c} END ∅ A bu f f 2(p) = ∅ '→ The process and channel pair p c are added to the set of reading pairs. ReadPacket refines skip: ReadPacket , ANY p, c, k WHERE p '→ c ∈ reading A k ∈ dom(data2(c)) A k ∈/ dom(bu f f 2(p))
AutoNDA by SimpleDocs

Related to Decomposing the Read Event

  • Conditions Affecting the Work The Contractor shall be responsible for having taken steps reasonably necessary to ascertain the nature and location of the Work, and the general and local conditions, which can affect the Work or the cost thereof for any Job Order. Any failure by the Contractor to do so will not relieve him from responsibility for successfully performing the Work without additional expense to the County. The County assumes no responsibility for any understanding or representations concerning conditions made by any of its officers or agents prior to the execution of this Contract, unless such understanding or representations by the County are expressly stated in the Contract.

  • Combination Offerings 5.6.3.1 2-wire voice grade port, voice grade loop, unbundled end office switching, unbundled end office trunk port, common transport per mile per MOU, common transport facilities termination, tandem switching, and tandem trunk port.

  • Flip-in Event (a) Subject to Subsection 3.1(b) and Section 5.1, in the event that prior to the Expiration Time a Flip-in Event shall occur, each Right shall constitute, effective at the close of business on the tenth Trading Day after the Share Acquisition Date, the right to purchase from the Company, upon exercise thereof in accordance with the terms hereof, that number of Shares having an aggregate Market Price on the date of consummation or occurrence of such Flip-in Event equal to twice the Exercise Price for an amount in cash equal to the Exercise Price (such right to be appropriately adjusted in a manner analogous to the applicable adjustment provided for in Section 2.3 in the event that after such consummation or occurrence, an event of a type analogous to any of the events described in Section 2.3 shall have occurred).

  • Continuing the Work The Contractor shall carry on the Work and adhere to the progress schedule during all disputes, disagreements or alternative resolution processes with the Owner. The Contractor shall not delay or postpone any Work because of the pending resolution of any disputes, disagreements or processes, except as the Owner and the Contractor may agree in writing.

  • Combination The available modifications and combinations of Class M Notes to be exchanged for MAC Notes, and vice versa, shown in Appendix II. Commission: The United States Securities and Exchange Commission.

  • Extraordinary Event Registry Operator will use commercially reasonable efforts to restore the critical functions of the registry within twenty-­‐four (24) hours after the termination of an extraordinary event beyond the control of the Registry Operator and restore full system functionality within a maximum of forty-­‐eight (48) hours following such event, depending on the type of critical function involved. Outages due to such an event will not be considered a lack of service availability.

  • Change of Use Alter or change the use of the Facility or enter into any management agreement for the Facility other than the Management Agreement or enter into any operating lease for the Facility, unless Borrower first notifies Lender and provides Lender a copy of the proposed lease agreement or management agreement, obtains Lender’s written consent thereto, which consent may be withheld in Lender’s sole discretion, and obtains and provides Lender with a subordination agreement in form satisfactory to Lender, as determined by Lender in its sole discretion, from such manager or lessee subordinating to all rights of Lender.

  • Reclassification If any reclassification of the capital stock of the Company shall be effected in such a way that holders of Common Stock shall be entitled to receive stock, securities, or other assets or property, then, as a condition of such reclassification, lawful and adequate provisions shall be made whereby the Holder hereof shall thereafter have the right to purchase and receive (in lieu of the shares of the Common Stock immediately theretofore purchasable and receivable upon the exercise of the rights represented hereby) such shares of stock, securities or other assets or property as may be issued or payable with respect to or in exchange for a number of outstanding shares of such Common Stock equal to the number of shares of such Common Stock immediately theretofore purchasable and receivable upon the exercise of the rights represented hereby. In any reclassification described above, appropriate provision shall be made with respect to the rights and interests of the Holder of this Warrant to the end that the provisions hereof (including, without limitation, provisions for adjustments of the Exercise Price and of the number of shares purchasable and receivable upon the exercise of this Warrant) shall thereafter be applicable, as nearly as may be, in relation to any shares of stock, securities or assets thereafter deliverable upon the exercise hereof.

  • Dissolution Event If there is a Dissolution Event before the termination of this Safe, the Investor will automatically be entitled (subject to the liquidation priority set forth in Section 1(d) below) to receive a portion of Proceeds equal to the Cash-Out Amount, due and payable to the Investor immediately prior to the consummation of the Dissolution Event.

Time is Money Join Law Insider Premium to draft better contracts faster.