@@ -22,7 +22,7 @@ type Queue<'T>() =
2222 /// the Full exception if no free slot was available within that time. Otherwise (block is false), put an item on
2323 /// the queue if a free slot is immediately available, else raise the Full exception (timeout is ignored in that
2424 /// case).
25- member x.put ( item : 'T , ? block : bool , ? timeout : int ) : unit = nativeOnly
25+ member x.put ( item : 'T , ? block : bool , ? timeout : float ) : unit = nativeOnly
2626 /// Remove and return an item from the queue. If optional args block is true and timeout is None (the default),
2727 /// block if necessary until an item is available. If timeout is a positive number, it blocks at most timeout
2828 /// seconds and raises the Empty exception if no item was available within that time. Otherwise (block is false),
@@ -32,7 +32,7 @@ type Queue<'T>() =
3232 /// Prior to 3.0 on POSIX systems, and for all versions on Windows, if block is true and timeout is None, this
3333 /// operation goes into an uninterruptible wait on an underlying lock. This means that no exceptions can occur, and
3434 /// in particular a SIGINT will not trigger a KeyboardInterrupt.
35- member x.get (? block : bool , ? timeout : int ) : 'T = nativeOnly
35+ member x.get (? block : bool , ? timeout : float ) : 'T = nativeOnly
3636 /// Blocks until all items in the queue have been gotten and processed.
3737 ///
3838 /// The count of unfinished tasks goes up whenever an item is added to the queue. The count goes down whenever a
@@ -62,7 +62,7 @@ type SimpleQueue<'T>() =
6262 /// Return True if the queue is full, False otherwise. If full() returns True it doesn’t guarantee that a subsequent
6363 /// call to get() will not block. Similarly, if full() returns False it doesn’t guarantee that a subsequent call to
6464 /// put() will not block.
65- member x.put ( item : 'T , ? block : bool , ? timeout : int ) : unit = nativeOnly
65+ member x.put ( item : 'T , ? block : bool , ? timeout : float ) : unit = nativeOnly
6666 /// Remove and return an item from the queue. If optional args block is true and timeout is None (the default),
6767 /// block if necessary until an item is available. If timeout is a positive number, it blocks at most timeout
6868 /// seconds and raises the Empty exception if no item was available within that time. Otherwise (block is false),
@@ -72,4 +72,4 @@ type SimpleQueue<'T>() =
7272 /// Prior to 3.0 on POSIX systems, and for all versions on Windows, if block is true and timeout is None, this
7373 /// operation goes into an uninterruptible wait on an underlying lock. This means that no exceptions can occur, and
7474 /// in particular a SIGINT will not trigger a KeyboardInterrupt.
75- member x.get (? block : bool , ? timeout : int ) : 'T = nativeOnly
75+ member x.get (? block : bool , ? timeout : float ) : 'T = nativeOnly
0 commit comments