scitokens / scitokens-cpp

A C++ implementation of the SciTokens library with a C library interface
Apache License 2.0
5 stars 22 forks source link

First attempt at an async refactoring of the SciTokens library. #92

Closed bbockelm closed 1 year ago

bbockelm commented 2 years ago

This splits operations that may block on network access into a "start" and "continue" portion. The start portion returns a status object which may be queried for information about whether the operation is finished and information about file descriptors that are useful for select.

Completely untested but it compiles and is roughly the top-to-bottom outline of what the async code will look like.

bbockelm commented 1 year ago

@djw8605 - for tomorrow ... seems this PR has now become a bit more of a priority.