File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11name = " LibAwsCommon"
22uuid = " c6e421ba-b5f8-4792-a1c4-42948de3ed9d"
3- version = " 1.3.0 "
3+ version = " 1.3.1 "
44
55[deps ]
66CEnum = " fa961155-64e5-5f13-b03f-caf6b980ea82"
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ mutable struct Future{T}
125125 Future {T} () where {T} = new {T} (Threads. Condition (), 0 )
126126end
127127
128+ Future () = Future {Nothing} () # default future type
128129Base. pointer (f:: Future ) = pointer_from_objref (f)
129130Future (ptr:: Ptr ) = unsafe_pointer_to_objref (ptr):: Future
130131Future {T} (ptr:: Ptr ) where {T} = unsafe_pointer_to_objref (ptr):: Future{T}
152153
153154capture (e:: Exception ) = CapturedException (e, Base. backtrace ())
154155
156+ Base. notify (f:: Future{Nothing} ) = notify (f, nothing )
155157function Base. notify (f:: Future{T} , x:: Union{Exception, T} ) where {T}
156158 lock (f. notify) # acquire barrier
157159 try
You can’t perform that action at this time.
0 commit comments