Skip to content

Rename threads to better aid with debugging#424

Open
IngCr3at1on wants to merge 3 commits intoPaycoinFoundation:masterfrom
IngCr3at1on:rename-threads
Open

Rename threads to better aid with debugging#424
IngCr3at1on wants to merge 3 commits intoPaycoinFoundation:masterfrom
IngCr3at1on:rename-threads

Conversation

@IngCr3at1on
Copy link
Contributor

No description provided.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everyone loves fixing excess whitespace.

@jwrb
Copy link

jwrb commented Dec 15, 2015

Tested and working as expected! LGTM! 👍

@MitchellCash
Copy link
Contributor

You seem to be missing a few? ThreadTopUpKeyPool, ThreadCleanWalletPassphrase etc.

@IngCr3at1on
Copy link
Contributor Author

@MitchellCash so I did lol, also the names were a bit inconsistent I thought I went through them already. Fixed both. (15 minutes)

@MitchellCash
Copy link
Contributor

More:

void ThreadRPCServer(void* parg)
void ipcThread(void* parg)

src/net.cpp Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This thread is not the message handling thread.
// Make this thread recognisable as the external IP detection thread

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, and the other missing ones (10 minutes)

or not, been playing with Golang and forgot some semi-colons. Travis is going to crash lol.

@MitchellCash
Copy link
Contributor

If you squash those commits down it looks good to me now.

Confirmed with top -H.

@MitchellCash
Copy link
Contributor

#434 introduces a new thread. Following testing of it should we rebase this pull over the top to include the new ThreadRPCServer3 thread?

@IngCr3at1on
Copy link
Contributor Author

@MitchellCash probably yes.

@IngCr3at1on
Copy link
Contributor Author

rebased over master to accommodate 20bc095 (5 minutes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants