forked from M-Labs/artiq
Merge branch 'master' into phaser2
* master: rtio: support differential ttl RELEASE_NOTES: int(a, width=b) removal, use int32/64 pc_rpc: use ProactorEventLoop on Windows (#627)
This commit is contained in:
commit
1c84d1ee59
|
@ -22,6 +22,7 @@ Release notes
|
||||||
* The Pipistrello port now has exclusively TTLs.
|
* The Pipistrello port now has exclusively TTLs.
|
||||||
* The DDS class names and setup options have changed, this requires an update of
|
* The DDS class names and setup options have changed, this requires an update of
|
||||||
the device database.
|
the device database.
|
||||||
|
* ``int(a, width=b)`` has been removed. Use ``int32(a)`` and ``int64(a)``.
|
||||||
|
|
||||||
|
|
||||||
2.0
|
2.0
|
||||||
|
|
|
@ -107,6 +107,7 @@ class Inout_8X(ttl_serdes_generic.Inout):
|
||||||
self.submodules += serdes
|
self.submodules += serdes
|
||||||
ttl_serdes_generic.Inout.__init__(self, serdes)
|
ttl_serdes_generic.Inout.__init__(self, serdes)
|
||||||
|
|
||||||
|
|
||||||
class Input_8X(ttl_serdes_generic.Inout):
|
class Input_8X(ttl_serdes_generic.Inout):
|
||||||
def __init__(self, pad, pad_n=None):
|
def __init__(self, pad, pad_n=None):
|
||||||
serdes = _ISERDESE2_8X(pad, pad_n)
|
serdes = _ISERDESE2_8X(pad, pad_n)
|
||||||
|
|
|
@ -11,6 +11,7 @@ client passes a list as a parameter of an RPC method, and that method
|
||||||
client's list.
|
client's list.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
import socket
|
import socket
|
||||||
import asyncio
|
import asyncio
|
||||||
import threading
|
import threading
|
||||||
|
@ -592,6 +593,10 @@ def simple_server_loop(targets, host, port, description=None):
|
||||||
|
|
||||||
See ``Server`` for a description of the parameters.
|
See ``Server`` for a description of the parameters.
|
||||||
"""
|
"""
|
||||||
|
if os.name == "nt":
|
||||||
|
loop = asyncio.ProactorEventLoop()
|
||||||
|
asyncio.set_event_loop(loop)
|
||||||
|
else:
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
try:
|
try:
|
||||||
server = Server(targets, description, True)
|
server = Server(targets, description, True)
|
||||||
|
|
Loading…
Reference in New Issue