We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 851f33d commit ab3acc9Copy full SHA for ab3acc9
src/flamenco/runtime/fd_bank.c
@@ -48,10 +48,10 @@ fd_bank_footprint( void ) {
48
fd_bank_##name##_t * bank_##name = fd_bank_##name##_pool_ele( name##_pool, bank->name##_pool_idx ); \
49
return (type *)bank_##name->data; \
50
} \
51
+ fd_rwlock_write( fd_bank_get_##name##_pool_lock( bank ) ); \
52
if( FD_UNLIKELY( !fd_bank_##name##_pool_free( name##_pool ) ) ) { \
53
FD_LOG_CRIT(( "Failed to acquire " #name " pool element: pool is full" )); \
54
- fd_rwlock_write( fd_bank_get_##name##_pool_lock( bank ) ); \
55
fd_bank_##name##_t * child_##name = fd_bank_##name##_pool_ele_acquire( name##_pool ); \
56
if( FD_UNLIKELY( !child_##name ) ) { \
57
FD_LOG_CRIT(( "Failed to acquire " #name " pool element" )); \
0 commit comments