Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8088144

use waitpid instead of wait

    XMLWordPrintable

    Details

      Description

      The code in PosixPlatform.cpp:

          //TODO Use waitpid instead of wait
      #ifdef LINUX
          wait();
      #endif
      #ifdef MAC
          wpid = wait(&status);
      #endif

      would be more correct to be using waitpid instead of wait. I didn't have good luck using waitpid and there is no good reason at the moment to spin up two processes so wait works, however waitpid is more correct.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vdrozdov Victor Drozdov (Inactive)
              Reporter:
              cbensen Chris Bensen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: