mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-29 20:49:48 +01:00
remove spinlocks
This commit is contained in:
1 parent
3a404501f7
commit
1670c26313
6 files changed
+32
-34
No files matched your search
+6
-2
@@ -153,6 +153,8 @@ typedef unsigned char niarelap_file_t[];
|
||||
|
||||
extern unsigned int verbose;
|
||||
|
||||
pthread_cond_t spin;
|
||||
|
||||
extern char* pongo_path;
|
||||
#ifdef TUI
|
||||
extern bool tui_started;
|
||||
@@ -172,6 +174,7 @@ extern uint64_t palerain_flags;
|
||||
extern pthread_mutex_t log_mutex;
|
||||
|
||||
extern pthread_mutex_t spin_mutex, found_pongo_mutex, ecid_dfu_wait_mutex;
|
||||
pthread_cond_t spin;
|
||||
|
||||
extern int pongo_thr_running, dfuhelper_thr_running;
|
||||
extern bool device_has_booted;
|
||||
@@ -213,8 +216,8 @@ int issue_pongo_command(usb_device_handle_t, char*);
|
||||
int tui(void);
|
||||
int optparse(int argc, char* argv[]);
|
||||
|
||||
bool get_spin(void);
|
||||
bool set_spin(bool val);
|
||||
bool palerain_unblock(void);
|
||||
bool palerain_block(void);
|
||||
bool get_found_pongo(void);
|
||||
void* pongo_helper(void* _);
|
||||
bool set_found_pongo(bool val);
|
||||
@@ -227,4 +230,5 @@ void io_stop(stuff_t *stuff);
|
||||
|
||||
void print_credits(void);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user