オペレーティングシステムの機能及び構造について、実際のシステムの例も挙げながら、その基礎を論じる。主な内容は、プロセス、プロセス間の同期通信、スケジューリング、メモリ管理、ファイルと入出力、トランザクション処理、セキュリティなど。
- 計算機システム概要(復習)
- プロセス管理
| from dataclasses import dataclass | |
| @dataclass(order=True) | |
| class Human: | |
| age: int | |
| name: str | |
| boy = Human(2, "suzuki") |
| import pprint | |
| nfa = [] | |
| with open("input.txt", "r") as f: | |
| # アルファベットの種類数と始状態を読み取る | |
| n, nfa_initial_state = f.readline().split() | |
| n = int(n) | |
| for i in range(n+1): |
| const fs = require('fs'); | |
| const path = require('path'); | |
| function search_gt_lt(tmp_path) { | |
| fs.readdir(tmp_path, (err, files) => { | |
| if (err) throw err; | |
| files.forEach(file => { | |
| const next_path = path.join(tmp_path, file); | |
| fs.stat(next_path, (err, stats) => { |
| const ACCESS_TOKEN = | |
| "hogehogehogehoge"; | |
| const Masto = require("mastodon"); | |
| const M = new Masto({ | |
| access_token: `${ACCESS_TOKEN}`, | |
| api_url: "https://mstdn.jp/api/v1/" | |
| }); |