2008-10-15から1日間の記事一覧
まぁ大層なもんじゃなくて、200行ちょいぐらいのものなんですが。 -module(simple_chord). -compile(export_all). -record(peer,{id,predecessor,successor,data}). start() -> crypto:start(), Node0 = spawn(?MODULE,init,[]), put(0,true), register(node…
まぁ大層なもんじゃなくて、200行ちょいぐらいのものなんですが。 -module(simple_chord). -compile(export_all). -record(peer,{id,predecessor,successor,data}). start() -> crypto:start(), Node0 = spawn(?MODULE,init,[]), put(0,true), register(node…