refactor: move task_fn into its own crate
This commit is contained in:
1 parent
b8204c4ed9
commit
fe8de2784b
35 files changed
+125
-135
No files matched your search
@@ -1,7 +1,7 @@
|
||||
//! Concurrent access tests
|
||||
|
||||
use dagx::task_fn;
|
||||
use dagx::{task, DagRunner};
|
||||
use dagx_test::task_fn;
|
||||
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Tests for spawner functionality
|
||||
|
||||
use dagx::task_fn;
|
||||
use dagx::{DagResult, DagRunner};
|
||||
use dagx_test::task_fn;
|
||||
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Tests for multi-threading and concurrent execution
|
||||
|
||||
use dagx::task_fn;
|
||||
use dagx::{task, DagResult, DagRunner, TaskHandle};
|
||||
use dagx_test::task_fn;
|
||||
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//! Tests for timing and speedup verification
|
||||
|
||||
use dagx::{task, task_fn, DagResult, DagRunner};
|
||||
use dagx::{task, DagResult, DagRunner};
|
||||
use dagx_test::task_fn;
|
||||
|
||||
use std::{
|
||||
sync::{Arc, Mutex},
|
||||
|
||||
Reference in new issue
Block a user