Created
June 7, 2014 04:27
-
-
Save pipcet/a88782bdc8a24b2c6f08 to your computer and use it in GitHub Desktop.
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
use threads; | |
use threads::shared; | |
use Fuse; | |
mkdir("a"); | |
mkdir("b"); | |
async { Fuse::main(mountpoint=>"a", threaded=>1, getattr => sub { warn "a"; sleep(1); }) }; | |
async { Fuse::main(mountpoint=>"b", threaded=>1, getattr => sub { warn "b"; sleep(1); }) }; | |
sleep(10); | |
system("ls a/"); | |
system("ls b/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment