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

[Do not integrate] Enforce LIFO callbacks #8

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

guillep
Copy link
Member

@guillep guillep commented Sep 20, 2019

Instead of just forbidding callbacks to return, enforce that callbacks do return in LIFO order

 - maintaining the order of return instead of complaining (Callbacks execute in a single process and preempt themselves to avoid returning)
 - TFSameThreadRunner is made a singleton to have a single callback executor
This is safe to do now that TFSameThreadProcess is a singleton
 - support for ffiCall:module:
 - default runner is same thread runner
@guillep guillep changed the title Enforce LIFO callbacks [Do not integrate] Enforce LIFO callbacks Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant