Time sharing vs real time operating systems examples