Skip to content

Add a new var named GoID, which is the goroutine struct address, use … - #102

Open
kayaklee wants to merge 1 commit into
cihub:masterfrom
kayaklee:feature/goid
Open

kayaklee wants to merge 1 commit into
cihub:masterfrom
kayaklee:feature/goid

Conversation

@kayaklee

Copy link
Copy Markdown

Add a new var named GoID, which is the goroutine struct address, use it as goroutine id

@lwithers lwithers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If merged, this change would prevent the use of seelog on any architectures except amd64. This would need to change to be more general; perhaps adding a fallback goID() definition that returns "not implemented" on other architectures?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants