forked from Imagelibrary/binutils-gdb
Refactor complaint thread-safety approach
This patch changes the way complaint works in a background thread. The new approach requires installing a complaint interceptor in each worker, and then the resulting complaints are treated as one of the results of the computation. This change is needed for a subsequent patch, where installing a complaint interceptor around a parallel-for is no longer a viable approach.
This commit is contained in:
@@ -562,7 +562,7 @@ extern void (*deprecated_print_frame_info_listing_hook) (struct symtab * s,
|
||||
int noerror);
|
||||
extern int (*deprecated_query_hook) (const char *, va_list)
|
||||
ATTRIBUTE_FPTR_PRINTF(1,0);
|
||||
extern void (*deprecated_warning_hook) (const char *, va_list)
|
||||
extern thread_local void (*deprecated_warning_hook) (const char *, va_list)
|
||||
ATTRIBUTE_FPTR_PRINTF(1,0);
|
||||
extern void (*deprecated_readline_begin_hook) (const char *, ...)
|
||||
ATTRIBUTE_FPTR_PRINTF_1;
|
||||
|
||||
Reference in New Issue
Block a user