diff --git a/CMakeLists.txt b/CMakeLists.txt index f8841e3..843a710 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,9 +35,6 @@ target_include_directories(${PROJECT_NAME} PUBLIC if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") target_sources(${PROJECT_NAME} PRIVATE src/threads/posix_thread.cpp) -elseif(WIN32) - target_sources(${PROJECT_NAME} PRIVATE - src/threads/windows_thread.cpp) endif() if(WIN32) target_compile_definitions(${PROJECT_NAME} diff --git a/include/rcpputils/threads.hpp b/include/rcpputils/threads.hpp index 942fd6a..a298a4c 100644 --- a/include/rcpputils/threads.hpp +++ b/include/rcpputils/threads.hpp @@ -17,8 +17,6 @@ #if defined(__linux__) #include "rcpputils/threads/posix/thread.hpp" -#elif defined(_WIN32) -#include "rcpputils/threads/windows/thread.hpp" #else #include "rcpputils/threads/std/thread.hpp" #endif diff --git a/include/rcpputils/threads/windows/thread.hpp b/include/rcpputils/threads/windows/thread.hpp deleted file mode 100644 index ec6613d..0000000 --- a/include/rcpputils/threads/windows/thread.hpp +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2023 eSOL Co.,Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef RCPPUTILS__THREADS__WINDOWS__THREAD_HPP_ -#define RCPPUTILS__THREADS__WINDOWS__THREAD_HPP_ - -// Not implemented so far. -// The windows specific code will be implemented -// while discussing the scheduling parameter passing feature at Real-time WG. - -#endif // RCPPUTILS__THREADS__WINDOWS__THREAD_HPP_ diff --git a/src/threads/windows_thread.cpp b/src/threads/windows_thread.cpp deleted file mode 100644 index a37a201..0000000 --- a/src/threads/windows_thread.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2023 eSOL Co.,Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "rcpputils/threads/windows/thread.hpp" - -// Not implemented so far. -// The windows specific code will be implemented -// while discussing the scheduling parameter passing feature at Real-time WG.