Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
queue: add WaitForever and NoWait constants
Browse files Browse the repository at this point in the history
Thanks for @cjbj for pointing those out in dpi.h

For #186
  • Loading branch information
tgulacsi committed Aug 18, 2019
1 parent 8717113 commit 16336f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,11 @@ func (D DeqOptions) fromOra(d *drv, opts *C.dpiDeqOptions) error {
return firstErr
}

const (
NoWait = uint32(0)
WaitForever = uint32(1<<31 - 1)
)

// MessageState constants representing message's state.
type MessageState uint32

Expand Down

0 comments on commit 16336f1

Please sign in to comment.