unix fds and dictionary entries

Thiago Macieira thiago at kde.org
Fri Jan 22 00:54:00 PST 2010


Em Quinta-feira 21 Janeiro 2010, às 23:45:38, Ryan Lortie escreveu:
> hi.
> 
> just a quick question that i need answered for sake of GVariant/DBus
> compatibility:
> 
> is it intentional that a unix fd can be used as a key in a dictionary
> entry?  that seems a little bit odd.

Why not?

The constraint for a dictionary entry key is that it be a basic type. File 
descriptors can be copied easily, so they are technically a basic type.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20100122/7cbb3007/attachment.pgp 


More information about the dbus mailing list