Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 98 for exit_1 (0.15 sec)

  1. src/sync/waitgroup_test.go

    	n := 16
    	wg1.Add(n)
    	wg2.Add(n)
    	exited := make(chan bool, n)
    	for i := 0; i != n; i++ {
    		go func() {
    			wg1.Done()
    			wg2.Wait()
    			exited <- true
    		}()
    	}
    	wg1.Wait()
    	for i := 0; i != n; i++ {
    		select {
    		case <-exited:
    			t.Fatal("WaitGroup released group too soon")
    		default:
    		}
    		wg2.Done()
    	}
    	for i := 0; i != n; i++ {
    		<-exited // Will block if barrier fails to unlock someone.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 14 17:38:39 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. src/os/exec_posix.go

    	status syscall.WaitStatus // System-dependent status info.
    	rusage *syscall.Rusage
    }
    
    // Pid returns the process id of the exited process.
    func (p *ProcessState) Pid() int {
    	return p.pid
    }
    
    func (p *ProcessState) exited() bool {
    	return p.status.Exited()
    }
    
    func (p *ProcessState) success() bool {
    	return p.status.ExitStatus() == 0
    }
    
    func (p *ProcessState) sys() any {
    	return p.status
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. docs/en/docs/img/deployment/https/https02.drawio

                    </mxCell>
                    <mxCell id="8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=3;exitX=0.092;exitY=1.01;exitDx=0;exitDy=0;dashed=1;exitPerimeter=0;" parent="1" edge="1">
                        <mxGeometry relative="1" as="geometry">
                            <Array as="points">
                                <mxPoint x="800" y="521"/>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    import com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter;
    import junit.framework.TestCase;
    
    /** @author Gregory Kick */
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private Runtime runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(Runtime.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/main/java/org/gradle/process/ExecResult.java

     */
    public interface ExecResult {
        /**
         * Returns the exit value of the process.
         */
        int getExitValue();
    
        /**
         * Throws an {@link org.gradle.process.internal.ExecException} if the process exited with a non-zero exit value.
         *
         * @return this
         * @throws ExecException if the process exited with a non-zero exit value
         */
        ExecResult assertNormalExitValue() throws ExecException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    import com.google.common.util.concurrent.UncaughtExceptionHandlers.Exiter;
    import junit.framework.TestCase;
    
    /** @author Gregory Kick */
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private Runtime runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(Runtime.class);
      }
    
      public void testExiter() {
        new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. src/internal/abi/rangefuncconsts.go

    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    	RF_READY                          // body of loop has not exited yet, is not running  -- this is not a panic index
    	RF_PANIC                          // body of loop is either currently running, or has panicked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerProcess.java

        ExecResult waitForStop();
    
        /**
         * Returns the result of the process, if it has exited.  If the process has not exited yet, returns {@link Optional#empty()}.
         */
        Optional<ExecResult> getExecResult();
    
        JvmMemoryStatus getJvmMemoryStatus();
    
        /**
         * Stop the associated process without expecting a normal exit value.
         */
        void stopNow();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 21:45:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. pkg/probe/exec/exec_test.go

    	return nil, nil
    }
    
    type fakeExitError struct {
    	exited     bool
    	statusCode int
    }
    
    func (f *fakeExitError) String() string {
    	return f.Error()
    }
    
    func (f *fakeExitError) Error() string {
    	return "fake exit"
    }
    
    func (f *fakeExitError) Exited() bool {
    	return f.exited
    }
    
    func (f *fakeExitError) ExitStatus() int {
    	return f.statusCode
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. docs/docker/README.md

    ```sh
    docker ps -a
    ```
    
    `-a` flag makes sure you get all the containers (Created, Running, Exited). Then identify the `Container ID` from the output.
    
    ### Starting and Stopping Containers
    
    To start a stopped container, you can use the [`docker start`](https://docs.docker.com/engine/reference/commandline/start/) command.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.2K bytes
    - Viewed (2)
Back to top