By Garypen-Oracle on Oct 13, 2005
- 20(ish) used Solaris on a daily basis
- 0 used Solaris 10
- 5 used Solaris 9
- (The rest) used Solaris 7/8
- 1 used Solaris 2.6
poll(2)is a very handy system call, but have you ever wanted to extend the types of events that you can respond to as well as being able to multiplex events from disjoint sources? Of course you have! This is just the kind of facility you need to help you write scalable, efficient multithreaded software. Solaris 10 introduces the new event ports facility designed to make this simpler. If you are interested in finding out more about them, take a look at the
port_get(3c)manpage. There is a short example which illustrates their power. Alternatively, if you haven't got access to Solaris 10, you can look at this.
I look after the version of libxml2 and libxslt which ship with Solaris. Don't ask me why, it's got nothing to do with kernel development. An accident of history I suppose since many years ago in previous employment I used to use XML's ancestor (SGML) on a variety of projects. Be careful what you do, it only qualifies you to do more of it in the future!!
libxml2 and libxslt along with their associated tools
xsltproc are shipped as part of Solaris 10 and occasionally the versions of these tools are upgraded. Usually the upgrade is triggered by a specific project which needs new functionality or a specific bug fix. In this case it's both, since a security fix was provided in libxml2 2.6.6 and the GNOME project requires new functionality from both lthe libxml2 and libxslt libraries.
As of today, Solaris 10 incorporates version 2.6.10 of libxml2 and version 1.1.7 of libxslt.
If you have a requirement to manipulate XML on Solaris then you should definitely investigate the use of these tools and libraries since their performance is good, especially when compared to their Java based equivalents. You can find out more about them here.