Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Aug 6, 2024
1 parent 1c9ce02 commit 5e8bfee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion ww/ww.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void createWW(const ww_construction_data_t init_data)
GSTATE.node_manager = createNodeManager();
}

// [Section] Spawn all workers expect main worker which is current thread
// [Section] Spawn all workers except main worker which is current thread
{
WORKERS[0].thread = (hthread_t) NULL;
for (unsigned int i = 1; i < WORKERS_COUNT; ++i)
Expand Down
2 changes: 0 additions & 2 deletions ww/ww.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#define WW_UNLIKELY(x) (v)
#endif

#define MUSTALIGN2(n, w) assert(((w) & ((w) - 1)) == 0); /* alignment w is not a power of two */

/*
kCpuLineCacheSize is the size of a cache line of the target CPU.
The value 64 covers i386, x86_64, arm32, arm64.
Expand Down

0 comments on commit 5e8bfee

Please sign in to comment.