User Tools

Site Tools


cs330_f2016:lab13scaffold

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cs330_f2016:lab13scaffold [2017/03/22 22:32]
dhart
cs330_f2016:lab13scaffold [2017/03/22 23:55]
dhart
Line 335: Line 335:
 end end
  
 +defmodule Crasher do
  
- +  def crash(ns, name) do 
 +    ​IO.puts("​Crashing the module..."​) 
 +    pid = GenServer.call(ns,​ {:resolve, name}) 
 +    Process.exit(pid,​ :kill) 
 +  end 
 +   
 +end
  
 </​file>​ </​file>​
cs330_f2016/lab13scaffold.txt · Last modified: 2021/06/30 23:42 (external edit)