{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/764","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/764/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/764/events","html_url":"https://github.com/KSP-KOS/KOS/issues/764","id":67235365,"number":764,"title":"kOS Processors are separate \"virtual processes\"","user":{"login":"abenkovskii","id":11031560,"avatar_url":"https://avatars.githubusercontent.com/u/11031560?v=3","gravatar_id":"","url":"https://api.github.com/users/abenkovskii","html_url":"https://github.com/abenkovskii","followers_url":"https://api.github.com/users/abenkovskii/followers","following_url":"https://api.github.com/users/abenkovskii/following{/other_user}","gists_url":"https://api.github.com/users/abenkovskii/gists{/gist_id}","starred_url":"https://api.github.com/users/abenkovskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abenkovskii/subscriptions","organizations_url":"https://api.github.com/users/abenkovskii/orgs","repos_url":"https://api.github.com/users/abenkovskii/repos","events_url":"https://api.github.com/users/abenkovskii/events{/privacy}","received_events_url":"https://api.github.com/users/abenkovskii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-08T22:36:46Z","updated_at":"2015-04-09T09:16:23Z","closed_at":"2015-04-08T23:08:59Z","body":"If I understand it right kOS does something like:\r\n```\r\neach \"frame\"\r\nfor each cpu in active_cpu\r\n    process up to n instructions\r\n```\r\nBut than each CPU is a virtual process (they are executed in one process, but influence each other like if they were a separate processes)\r\nThey have separate code segment, stack and dynamic memory, but share the vessel control and the file system access.\r\nImagine a situation where one core logs some commands into a file and the other executes this file. What will happen if the user expects several lines to be logged to this file before it gets executed and than the second CPU runs the file in the middle of a change (leaving unclosed function body for example)?"},"comment":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments/91170305","html_url":"https://github.com/KSP-KOS/KOS/issues/764#issuecomment-91170305","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/764","id":91170305,"user":{"login":"abenkovskii","id":11031560,"avatar_url":"https://avatars.githubusercontent.com/u/11031560?v=3","gravatar_id":"","url":"https://api.github.com/users/abenkovskii","html_url":"https://github.com/abenkovskii","followers_url":"https://api.github.com/users/abenkovskii/followers","following_url":"https://api.github.com/users/abenkovskii/following{/other_user}","gists_url":"https://api.github.com/users/abenkovskii/gists{/gist_id}","starred_url":"https://api.github.com/users/abenkovskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abenkovskii/subscriptions","organizations_url":"https://api.github.com/users/abenkovskii/orgs","repos_url":"https://api.github.com/users/abenkovskii/repos","events_url":"https://api.github.com/users/abenkovskii/events{/privacy}","received_events_url":"https://api.github.com/users/abenkovskii/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T09:16:23Z","updated_at":"2015-04-09T09:16:23Z","body":"@erendrake Is there any documentation and examples on the main documentation site about this feature?"}}