- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for Phread (0.2 sec)
-
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) -
src/main/java/jcifs/util/transport/Transport.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 01 18:12:21 GMT 2020 - 24.1K bytes - Viewed (0) -
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) -
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) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
* sent. Unfortunately calling disconnect() doesn't always * actually shutdown the connection before other threads * have committed themselves (e.g. InterruptTest example). */ try { transport.disconnect(true); } catch (Exception e) {}
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} w.checkException(); if ( read <= 0 ) { break; } w.write(b[ i ], read, fos); } i = i == 1 ? 0 : 1; off += read; } if ( log.isDebugEnabled() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
final Object lock = new Object(); final Thread t = Thread.currentThread(); this.executor.submit(new Runnable() { @Override public void run () { try { synchronized ( lock ) { lock.wait(1000); } Thread.sleep(100); t.interrupt();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:40:50 GMT 2021 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} } out.write( sbuf, 0, 4 + n ); out.flush(); /* Note the Transport thread isn't running yet so we can * read from the socket here. */ if (peekKey() == null) /* try to read header */ throw new IOException( "transport closed in negotiate" ); int size = Encdec.dec_uint16be( sbuf, 2 ) & 0xFFFF;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 31.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
log.trace("Acquire tree " + usage + " " + this); } if ( track && this.traceResource ) { synchronized ( this.acquires ) { this.acquires.add(truncateTrace(Thread.currentThread().getStackTrace())); } } if ( usage == 1 ) { synchronized ( this ) { if ( this.sessionAcquired.compareAndSet(false, true) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 29.6K bytes - Viewed (0)