Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for unpark (0.21 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // field.
        void setNext(@CheckForNull Waiter next) {
          ATOMIC_HELPER.putNext(this, next);
        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
          // unpark even though the thread has already removed itself from the list. But even if we did
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

                try {
                  new CountDownLatch(1).await(); // the interrupt will wake us up
                } catch (InterruptedException ie) {
                  // continue
                }
                LockSupport.unpark(Thread.currentThread()); // simulate a spurious wakeup.
                return null;
              }
    
              @Override
              boolean isDone() {
                return false;
              }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

             * protect ourselves from this, we park ourselves and tell our interrupter that we did so.
             */
            if (state == PARKED || compareAndSet(state, PARKED)) {
              // Interrupting Cow Says:
              //  ______
              // < Park >
              //  ------
              //        \   ^__^
              //         \  (oo)\_______
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

                try {
                  new CountDownLatch(1).await(); // the interrupt will wake us up
                } catch (InterruptedException ie) {
                  // continue
                }
                LockSupport.unpark(Thread.currentThread()); // simulate a spurious wakeup.
                return null;
              }
    
              @Override
              boolean isDone() {
                return false;
              }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter1.interrupt();
    
        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
      public void testRemoveWaiter_polling() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter1.interrupt();
    
        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
      public void testRemoveWaiter_polling() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const SYS__LWP_SUSPEND ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS__LWP_UNPARK = 321
    pkg syscall (netbsd-arm64-cgo), const SYS__LWP_UNPARK_ALL = 322
    pkg syscall (netbsd-arm64-cgo), const SYS__LWP_UNPARK_ALL ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS__LWP_UNPARK ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS__LWP_WAIT = 312
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. api/go1.2.txt

    pkg syscall (netbsd-386), const SYS__LWP_PARK ideal-int
    pkg syscall (netbsd-386), const SYS__LWP_SELF ideal-int
    pkg syscall (netbsd-386), const SYS__LWP_SETNAME ideal-int
    pkg syscall (netbsd-386), const SYS__LWP_SETPRIVATE ideal-int
    pkg syscall (netbsd-386), const SYS__LWP_SUSPEND ideal-int
    pkg syscall (netbsd-386), const SYS__LWP_UNPARK ideal-int
    pkg syscall (netbsd-386), const SYS__LWP_UNPARK_ALL ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  9. cmd/untar.go

    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    }
    
    func untar(ctx context.Context, r io.Reader, putObject func(reader io.Reader, info os.FileInfo, name string) error, o untarOptions) error {
    	bf := bufio.NewReader(r)
    	switch f := detect(bf); f {
    	case formatGzip:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. src/main/assemblies/common-bin.xml

    <component>
    	<dependencySets>
    		<dependencySet>
    			<outputDirectory>fess-${project.version}/app</outputDirectory>
    			<useProjectArtifact>true</useProjectArtifact>
    			<unpack>true</unpack>
    			<includes>
    				<include>org.codelibs.fess:fess</include>
    			</includes>
    		</dependencySet>
    	</dependencySets>
    	<fileSets>
    		<fileSet>
    			<filtered>true</filtered>
    			<directory>src/main/assemblies/files</directory>
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Mar 17 02:29:43 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top