[kernel] Add debug names to processes
To make debugging easier, add names to processes. These are arbitrary and supplied by the caller of process_create. The max is 31 characters in debug configuration, and 0 in release.
This commit is contained in:
@@ -12,7 +12,9 @@ object process : object {
|
||||
]
|
||||
|
||||
# Create a new empty process
|
||||
method create [constructor]
|
||||
method create [constructor] {
|
||||
param name string
|
||||
}
|
||||
|
||||
# Stop all threads and exit the given process
|
||||
method kill [destructor cap:kill]
|
||||
|
||||
Reference in New Issue
Block a user