fix: address review issues from MICRO_PIP migration
- piconditionvar.h: remove phantom wait(lk, timeout) stubs not in real class - pithread.h: remove duplicate #ifndef PIP_NO_THREADS guard - piscreendrawer/tile/tiles.cpp: remove duplicate #if !defined(PICO_SDK) - cmake/FindPIP.cmake: replace PIP_MICRO with PIP_EMBEDDED
This commit is contained in:
@@ -184,8 +184,6 @@ public:
|
||||
void wait(PIMutex &, std::function<bool()>) {}
|
||||
bool waitFor(PIMutex &, PISystemTime) { return false; }
|
||||
bool waitFor(PIMutex &, PISystemTime, std::function<bool()>) { return false; }
|
||||
bool wait(PIMutex &, PISystemTime) { return true; }
|
||||
bool wait(PIMutex &, ullong) { return true; }
|
||||
void notifyOne() {}
|
||||
void notifyAll() {}
|
||||
};
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
class PIThread;
|
||||
|
||||
#ifndef PIP_NO_THREADS
|
||||
# ifndef PIP_NO_THREADS
|
||||
class PIIntrospectionThreads;
|
||||
|
||||
class PIP_EXPORT __PIThreadCollection: public PIObject {
|
||||
@@ -75,7 +74,6 @@ public:
|
||||
};
|
||||
|
||||
static __PIThreadCollection_Initializer__ __PIThreadCollection_initializer__;
|
||||
# endif // PIP_NO_THREADS
|
||||
|
||||
//! \~english Callback executed by %PIThread with the current \a data() pointer.
|
||||
//! \~russian Обратный вызов, который %PIThread выполняет с текущим указателем \a data().
|
||||
|
||||
Reference in New Issue
Block a user