nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nuttx] patacongo commented on pull request #3626: libc: Move pthread stuff to userspace
Date Tue, 01 Jun 2021 13:53:22 GMT

patacongo commented on pull request #3626:

   >     1. Move pthread_exit & pthread_create to USERSPACE to unify the convention
that how to drop to userspace from kernel side like this:
   >        `regs[REG_EPC]      = (uintptr_t)USERSPACE->pthread_startup`
   >        `regs[REG_EPC]      = (uintptr_t)USERSPACE->pthread_exit`
   This part I don't understand.  That doesn't unify the designs, it makes them different:
 There is no USERSPACE in KERNEL mode.  I don't understand why this is a good thing.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message