<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=675644" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miri64">@miri64</a>: Yes, indeed. Making the main thread optional will cut down most of the overhead the approach suggested here would remove, but is likely less invasive. On the other hand dropping the idle thread and scheduler would likely be applicable to the use cases <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="408111267" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/10971" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/10971/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/10971">#10971</a> has in mind and also others that do require a main thread.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/issues/11199#issuecomment-473526196">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YF7-SW2mhdYl5JCa6YouCLPrI86tks5vXOQ7gaJpZM4b3r1Y">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YLTWhP6mFdv9MDd_DCUd5FjeHU4tks5vXOQ7gaJpZM4b3r1Y.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@maribu in #11199: @miri64: Yes, indeed. Making the main thread optional will cut down most of the overhead the approach suggested here would remove, but is likely less invasive. On the other hand dropping the idle thread and scheduler would likely be applicable to the use cases #10971 has in mind and also others that do require a main thread."}],"action":{"name":"View Issue","url":"https://github.com/RIOT-OS/RIOT/issues/11199#issuecomment-473526196"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/issues/11199#issuecomment-473526196",
"url": "https://github.com/RIOT-OS/RIOT/issues/11199#issuecomment-473526196",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>