Skip to content

Commit

Permalink
add the forgoten attribute align for struct
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Aug 7, 2024
1 parent 9701695 commit 947b635
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ww/master_pool.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "hmutex.h"
#include "ww.h"
#include "utils/mathutils.h"

/*
Expand Down Expand Up @@ -69,7 +70,7 @@ typedef struct master_pool_s
atomic_uint len;
const unsigned int cap;
void *available[];
} master_pool_t;
} ATTR_ALIGNED_LINE_CACHE master_pool_t;

static inline void popMasterPoolItems(master_pool_t *const pool, master_pool_item_t const **const iptr,
const unsigned int count)
Expand Down

0 comments on commit 947b635

Please sign in to comment.