-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pthreads xfer, axl_cp, and update AXL_Add for directories
- Add a new AXL_XFER_PTHREAD transfer. This uses multiple threads to transfer the files. - Add an 'axl_cp' command. axl_cp works like the standard 'cp' command, but allows you to specify the AXL transfer type (sync, pthreads, bbapi, etc...). It will also serve as good example code for AXL users. Along with this, test_axl.c has been replaced with a 'test_axl' bash script. This will make it a lot easier to write test cases. The new test_axl script currently tests both sync and pthread transfers via calls to axl_cp. - Allow passing directories to AXL_Add(). If a directory is passed, all files and subdirs within the dir are recursively copied. Basically, AXL_Add() will follow the same semantics as the 'cp' command. This is conceptually easier for the user to understand, and saves them from having to traverse their directories manually. Note that the recursive directory copy will currently not copy empty subdirectories. Signed-off-by: Tony Hutter <[email protected]>
- Loading branch information
1 parent
6e592c2
commit 42ff1dd
Showing
20 changed files
with
865 additions
and
716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.