Changed `os::spawn()` to return `Option` instead of `int`.
Similar to `os::system()`, `os::spawn()` returned `-1` on error, which
is a valid exit code on Windows. Using the same solution as
`os::system()`, now when `os::spawn()` fails, `None()` will be
returned. Otherwise, the process exit code
Repository: mesos
Updated Branches:
refs/heads/master 0d247c388 -> be8be3b88
Windows: Removed `WTERMSIG` etc. signal macros from `windows.hpp`.
We defined a few macros for testing the status value of `::waitpid()`
in `windows.hpp`. These these macros handled signal logic (which is
generally
Windows: Fixed `WIFEXITED` and `WIFSIGNALED` stubs.
The `WIFEXITED` and `WIFSIGNALED` macros were incorrectly checking if
the exit code was not -1 to determine if the process exited or was
signaled. However, -1 is a valid return code on Windows, so when logic
like `CHECK(WIFEXITED(status)||
Windows: Removed signal macros in `checks/checker_process.cpp`.
The `__nestedCommandCheck()` implementation in `checker_process.cpp`
uses signals to determine if the task has been killed. This logic has
been removed on Windows, since signals aren't used on Windows. A
different implementation will
Windows: Removed `AwaitAssertSignaled` etc. from `gtest.hpp`.
Because Windows does not generally use signals, and so does not have
macros like `WTERMSIG`, the `gtest.hpp` wrapper code which depends on
them is no longer compiled on Windows.
Review: https://reviews.apache.org/r/65861/
Project:
Fixed Mesos since `os::system()` now returns an `Option`.
The `os::system()` function now returns `None()` for a launch failure
instead of `-1`, and a `Some(exit_code)` for success.
Review: https://reviews.apache.org/r/65863/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit:
Changed `os::system()` to return `Option` instead of `int`.
The `os::system()` function returned `-1` on error, which is a valid
exit code on Windows, e.g., `os::system("exit -1")`, so it was
impossible to distinguish a failure from a process returning `-1`.
With `Option`, failures will return as
Fixed Mesos since `os::spawn()` now returns an `Option`.
The `os::spawn()` function now returns `None()` for a launch failure
instead of `-1`, and a `Some(exit_code)` for success.
Review: https://reviews.apache.org/r/65864/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit:
Updated the website built from mesos SHA: be8be3b.
Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/2306ff3e
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/2306ff3e
Diff:
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/jobobject_8hpp_source.html
--
diff --git a/content/api/latest/c++/jobobject_8hpp_source.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/windows_2shell_8hpp_source.html
--
diff --git a/content/api/latest/c++/windows_2shell_8hpp_source.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/posix_2shell_8hpp_source.html
--
diff --git a/content/api/latest/c++/posix_2shell_8hpp_source.html
Repository: mesos-site
Updated Branches:
refs/heads/asf-site 53f3d2403 -> 2306ff3ed
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/windows_2xattr_8hpp_source.html
--
diff --git
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/stout_2include_2stout_2gtest_8hpp_source.html
--
diff --git
a/content/api/latest/c++/stout_2include_2stout_2gtest_8hpp_source.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/subprocess__windows_8hpp_source.html
--
diff --git a/content/api/latest/c++/subprocess__windows_8hpp_source.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/module_2manager_8hpp_source.html
--
diff --git a/content/api/latest/c++/module_2manager_8hpp_source.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/src_2master_2master_8hpp_source.html
--
diff --git a/content/api/latest/c++/src_2master_2master_8hpp_source.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/index.hhk
--
diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk
index 59b7c58..2c344f0 100644
---
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/2306ff3e/content/api/latest/c++/include_2mesos_2allocator_2allocator_8hpp_source.html
--
diff --git
Updated the website built from mesos SHA: 348ec1a.
Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/dfbf7828
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/dfbf7828
Diff:
Repository: mesos-site
Updated Branches:
refs/heads/asf-site 2306ff3ed -> dfbf78286
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/dfbf7828/content/sitemap.xml
--
diff --git a/content/sitemap.xml b/content/sitemap.xml
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/dfbf7828/content/api/latest/c++/index.hhk
--
diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk
index 2c344f0..66c1016 100644
---
Repository: mesos
Updated Branches:
refs/heads/master be8be3b88 -> 348ec1a60
Windows: Ported `docker_tests.cpp`.
Ported the disabled tests to run on Windows. The following tests
could not be ported due to Windows platform limitations and remain
disabled:
-
Repository: mesos-site
Updated Branches:
refs/heads/asf-site c6a7f7380 -> ac06474e7
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ac06474e/content/sitemap.xml
--
diff --git a/content/sitemap.xml b/content/sitemap.xml
Updated the website built from mesos SHA: 477d49a.
Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/ac06474e
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/ac06474e
Diff:
Repository: mesos
Updated Branches:
refs/heads/master 8f4552e37 -> 477d49a2f
Simplified system requirements of balloon executor.
The ballon executor demonstrates that if memory is isolated, executors
can get terminated should they exceed limits. For that the executor
allocates increasing
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/src_2resource__provider_2message_8hpp_source.html
--
diff --git
a/content/api/latest/c++/src_2resource__provider_2message_8hpp_source.html
Repository: mesos-site
Updated Branches:
refs/heads/asf-site ac06474e7 -> 53f3d2403
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/type__utils_8hpp_source.html
--
diff --git
Updated the website built from mesos SHA: 0d247c3.
Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/53f3d240
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/53f3d240
Diff:
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/src_2master_2master_8hpp_source.html
--
diff --git a/content/api/latest/c++/src_2master_2master_8hpp_source.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/classes.html
--
diff --git a/content/api/latest/c++/classes.html
b/content/api/latest/c++/classes.html
index 8a04699..0728732 100644
---
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/hierarchy.html
--
diff --git a/content/api/latest/c++/hierarchy.html
b/content/api/latest/c++/hierarchy.html
index 2e85811..1ddfd69 100644
---
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/classmesos_1_1internal_1_1slave_1_1Slave-members.html
--
diff --git
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/index.hhp
--
diff --git a/content/api/latest/c++/index.hhp b/content/api/latest/c++/index.hhp
index 3347ef4..814f57d 100644
---
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/functions_vars_0x72.html
--
diff --git a/content/api/latest/c++/functions_vars_0x72.html
b/content/api/latest/c++/functions_vars_0x72.html
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/index.hhk
--
diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk
index bddb882..59b7c58 100644
---
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/functions_0x72.html
--
diff --git a/content/api/latest/c++/functions_0x72.html
b/content/api/latest/c++/functions_0x72.html
index
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/53f3d240/content/api/latest/c++/index.hhc
--
diff --git a/content/api/latest/c++/index.hhc b/content/api/latest/c++/index.hhc
index cc0f7c7..706bc6a 100644
---
38 matches
Mail list logo