<s>
Joins	B-Library
is	O
an	O
asynchronous	O
concurrent	B-Architecture
computing	I-Architecture
API	B-Application
(	O
Join-pattern	B-Operating_System
)	O
from	O
Microsoft	O
Research	O
for	O
the	O
.NET	B-Application
Framework	I-Application
.	O
</s>
<s>
It	O
is	O
based	O
on	O
join	O
calculus	O
and	O
makes	O
the	O
concurrency	B-Architecture
constructs	O
of	O
the	O
Cω	B-Language
language	O
available	O
as	O
a	O
CLI	O
assembly	O
that	O
any	O
CLI	B-Language
compliant	I-Language
language	I-Language
can	O
use	O
.	O
</s>
<s>
Joins	B-Library
can	O
be	O
used	O
to	O
express	O
concurrency	B-Architecture
in	O
an	O
application	O
using	O
the	O
joins	B-Library
pattern	O
,	O
usable	O
both	O
for	O
multi-threaded	O
applications	O
as	O
well	O
as	O
for	O
event	O
based	O
distributed	B-Architecture
applications	I-Architecture
.	O
</s>
<s>
The	O
Joins	B-Library
API	B-Application
emulates	O
declarative	O
type-safe	B-Language
expression	O
of	O
synchronization	O
patterns	O
.	O
</s>
<s>
The	O
Joins	B-Library
library	O
emulates	O
asynchronous	O
and	O
synchronous	O
methods	O
.	O
</s>
<s>
An	O
asynchronous	O
method	O
,	O
in	O
Cω	B-Language
and	O
Joins	B-Library
parlance	O
,	O
is	O
one	O
which	O
does	O
not	O
block	O
the	O
caller	O
method	O
,	O
nor	O
does	O
it	O
return	O
any	O
result	O
,	O
whereas	O
a	O
synchronous	O
method	O
blocks	O
the	O
caller	O
method	O
.	O
</s>
<s>
In	O
the	O
Joins	B-Library
API	B-Application
,	O
synchronous	O
as	O
well	O
as	O
asynchronous	O
methods	O
are	O
implemented	O
as	O
generic	B-Language
delegates	O
.	O
</s>
<s>
Usage	O
of	O
generics	O
provide	O
type	B-Language
safety	I-Language
.	O
</s>
<s>
When	O
asynchronous	O
methods	O
are	O
called	O
,	O
the	O
parameters	O
are	O
put	O
in	O
a	O
channel	O
,	O
which	O
is	O
a	O
queue	O
managed	O
by	O
the	O
Joins	B-Library
runtime	O
.	O
</s>
<s>
The	O
Joins	B-Library
runtime	O
schedules	O
which	O
parameter	O
is	O
returned	O
based	O
on	O
whether	O
it	O
is	O
ready	O
.	O
</s>
<s>
The	O
synchronization	O
pattern	O
of	O
the	O
methods	O
are	O
defined	O
by	O
joins	B-Library
patterns	O
,	O
which	O
describes	O
what	O
happens	O
when	O
a	O
set	O
of	O
channels	O
are	O
invoked	O
.	O
</s>
