Help for this page

Select Code to Download


  1. or download this
    
    #This is the SWIG generated module to my C library
    ...
    #This line is not printed as $cb_done never becomes 1 
    #in the main of the perl script
    print "CB was invoked : $cb_done\n";
    
  2. or download this
    use threads;
    use threads::shared;
    ...
    use MyModule;
    #shared scalar
    $cb_done : shared = 0;