Skip to content

Commit df1b727

Browse files
committed
windows: add a shim for Windows
This function was not previously used in all codepaths and was unavailable on Windows. This replicates the shim from the Unix path to Windows.
1 parent a920e51 commit df1b727

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/event/event_windows.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,12 @@ _dispatch_event_loop_end_ownership(dispatch_wlh_t wlh, uint64_t old_state,
974974
(void)wlh; (void)old_state; (void)new_state; (void)flags;
975975
}
976976

977+
void
978+
_dispatch_event_loop_ensure_ownership(dispatch_wlh_t wlh)
979+
{
980+
(void)wlh;
981+
}
982+
977983
#if DISPATCH_WLH_DEBUG
978984
void
979985
_dispatch_event_loop_assert_not_owned(dispatch_wlh_t wlh)

0 commit comments

Comments
 (0)