Mercurial > urweb
view tests/localfun.ur @ 2302:ace43b90b388
Tiny concurrency bugfix (race condition on cache->timeNow).
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Fri, 20 Nov 2015 10:51:43 -0500 |
parents | 5f478ecf65e4 |
children |
line wrap: on
line source
fun boom s = let val bonk = debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s val boonk = fn () => debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s fun booonk () = debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s; debug s in bonk; bonk; boonk (); boonk (); booonk (); booonk () end fun main () : transaction page = boom "test"; return <xml/>