Skip to content

Commit b9b84b7

Browse files
authored
Merge pull request #389 from brianjjones/multithread
Adding wrapper classes for Send and Sync to SessionRunArgs
2 parents 2ab5c39 + e79d436 commit b9b84b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/session.rs

+3
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ pub struct SessionRunArgs<'l> {
284284
phantom: marker::PhantomData<&'l ()>,
285285
}
286286

287+
unsafe impl<'l> Send for SessionRunArgs<'l> {}
288+
unsafe impl<'l> Sync for SessionRunArgs<'l> {}
289+
287290
impl<'l> Default for SessionRunArgs<'l> {
288291
fn default() -> Self {
289292
Self::new()

0 commit comments

Comments
 (0)