Skip to content

Thread-safe structured-loading control.#30

Merged
pp-mo merged 1 commit intostructured_load_apifrom
structured_load_api_threadsafe
Nov 10, 2016
Merged

Thread-safe structured-loading control.#30
pp-mo merged 1 commit intostructured_load_apifrom
structured_load_api_threadsafe

Conversation

@pp-mo
Copy link
Owner

@pp-mo pp-mo commented Nov 9, 2016

Fix the possible problem with overlapping usage in different threads.

Uses the same strategy as iris.FUTURE.

@marqh
Copy link

marqh commented Nov 10, 2016

this looks very sensible.

I like the removal of the GLOBALS: _DO_STRUCTURED_LOAD | _STRUCTURED_LOAD_IS_RAW

I think thread safety for loading is useful, there are threading patterns for handling I/O bound tasks which we should be sensitive to

i recommend merging into #27

@pp-mo pp-mo force-pushed the structured_load_api_threadsafe branch from eabf161 to 0c582ad Compare November 10, 2016 11:21
@pp-mo pp-mo merged commit dc7d8d2 into structured_load_api Nov 10, 2016
@pp-mo pp-mo deleted the structured_load_api_threadsafe branch January 3, 2017 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants