Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Thread (0.69 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

                        throw te;
                }
    
                state = 1;
                te = null;
                thread = new Thread( this, name );
                thread.setDaemon( true );
    
                synchronized (thread) {
                    thread.start();
                    thread.wait( timeout );          /* wait for doConnect */
    
                    switch (state) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/WatchTest.java

        private void setupWatch ( SmbWatchHandle w ) throws InterruptedException {
            if ( this.future != null ) {
                this.future.cancel(true);
            }
            this.future = this.executor.submit(w);
            Thread.sleep(1000);
        }
    
    
        @Test
        public void testWatchCreate () throws CIFSException, MalformedURLException, UnknownHostException, InterruptedException, ExecutionException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

         * other SMB clients (including other threads making calls into jCIFS)
         * will not be permitted to access the target file and will receive "The
         * file is being accessed by another process" message.
         */
        static final int FILE_NO_SHARE = 0x00;
        /**
         * When specified as the <tt>shareAccess</tt> constructor parameter,
         * other SMB clients will be permitted to read from the target file while
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

                } else {
                    t.url = args[ai];
                }
            }
    
            Thread[] threads = new Thread[t.numThreads];
            int ti;
    
            for (ti = 0; ti < t.numThreads; ti++) {
                threads[ti] = new Thread(t);
                System.out.print(threads[ti].getName());
                threads[ti].start();
            }
    
            while (t.numComplete < t.numThreads) {
                long delay;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/AbstractCIFSContext.java

    import jcifs.Credentials;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator.AuthenticationType;
    
    
    /**
     * @author mbechler
     *
     */
    public abstract class AbstractCIFSContext extends Thread implements CIFSContext {
    
        private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class);
        private boolean closed;
    
    
        /**
         * 
         */
        public AbstractCIFSContext () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            this.attrs = attrs;
            this.options = options;
            this.tree = tree.acquire();
            this.tree_num = tree.getTreeId();
    
            if ( cfg.isTraceResourceUsage() ) {
                this.creationBacktrace = Thread.currentThread().getStackTrace();
            }
            else {
                this.creationBacktrace = null;
            }
        }
    
    
        /**
         * @param cfg
         * @param fid
         * @param tree
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * may be necessary that an addition thread be used to read and
         * write to a Named Pipe.
         */
    
        public InputStream getNamedPipeInputStream() throws IOException {
            if( pipeIn == null ) {
                if(( pipeType & PIPE_TYPE_CALL ) == PIPE_TYPE_CALL ||
                        ( pipeType & PIPE_TYPE_TRANSACT ) == PIPE_TYPE_TRANSACT ) {
                    pipeIn = new TransactNamedPipeInputStream( this );
                } else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
Back to top